The Hostess with the Mostest
Server code is not reserved for the intellectual elite. Swift’s low memory footprint, safety, compile-time speed, and expressiveness that make it great for native apps also make it great for server uses.
You don’t need to start huge! Get accustomed to server workflow and doing networking with this proof of concept project.
Clone the repo. Change the Developer Team. Build and Run.
Find a folder to serve files from, then start seeing how server interactions work.
- I recommend reading through popular Swift server libraries. Two popular ones are Vapor and Hummingbird.
- Find some tutorials. My favorites are the great videos by NSScreencast or the Server-Side Swift with Vapor on Kodeco.
- Join some communities for chat and support. Look for the
#server
channel in your work or iOS devs Slack. Join in with the Hummingbird and Vapor Discords. - Share your stories! I’d love to congratulate your successes or comiserate in your problems on socials.