Skip to content

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

License

Notifications You must be signed in to change notification settings

email2sunilverma/SwiftBackEnd

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

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

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages