Hive for Mobile - Server
The backend for the Hive for iOS app.
API
For more information on the API, see API.md
Getttng Started
- Run
vapor xcode
to generate the Xcode project - Open
Hive-for-Mobile-Server.xcodeproj
in Xcode - Select the
Run
scheme and choose the destinationMy Mac
- Run the server
- The app will be available at
localhost:8080
Requirements
Development
To set up the app for development, run the script/dev-setup
script to begin ngrok and set up the Hive for iOS client to connect to your instance
Requirements
Deploying
To set up the app to be deployed, run the script/prod-setup
script to copy the configuration files to the appropriate directories.
Requirements
- Ubuntu
- nginx
- supervisor
Contributing
- Clone this repo
- Make your changes and run
swiftlint
to ensure there are no lint errors - TODO: Testing
- Open a PR with your changes (don't include ngrok URLs) 🎉
Notice
Hive for Mobile Server is not affiliated with Gen42 Games in any way.