Skip to content

Latest commit

 

History

History
35 lines (22 loc) · 1.56 KB

README.md

File metadata and controls

35 lines (22 loc) · 1.56 KB

SwiftBackend

Project provides basic idea and approach to implement the Swift Backend, here connfigure server package and write the rest api in swift language itself, there is no any dependencies of other languages to build the rest api's

How to use

  • Create and local directory on local system
  • Go the directory on terminal
  • Initialise the swift package by terminal command: swift package init --type=executable
  • Genererate the swift xcproject by terminal command: swift package generate-xcodeproj
  • Open the Xcode project in Xcode.
  • Install the PerfectLib server dependency by add package https://github.com/PerfectlySoft/Perfect-HTTPServer via package manager.
  • Now run the Xcode project, you will get message [INFO] Starting HTTP server on 0.0.0.0:8080 that means server is runnning on your local machine.
  • Enjoy! your coding, server setups done.

Reference

Author

License

SwiftBackend is available under the MIT license. See the LICENSE file for more info.

Other Libraries

  • SPopupMenu:- Simple UI for create the POP list for menu with Text, Text With Icon, Muliti Seelction.
  • SNotificationCenter:- Notification and Observer design patern.
  • SSideMenu:- Project provides basic idea and approach for building Slider side menu in SwiftUI.