autoreleasefool / hive-for-mobile-server

Hive for Mobile - Swift Vapor server

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Header

Hive for Mobile - Server

The backend for the Hive for iOS app.

API

For more information on the API, see API.md

Getttng Started

  1. Run vapor xcode to generate the Xcode project
  2. Open Hive-for-Mobile-Server.xcodeproj in Xcode
  3. Select the Run scheme and choose the destination My Mac
  4. Run the server
  5. 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

Contributing

  1. Clone this repo
  2. Make your changes and run swiftlint to ensure there are no lint errors
  3. TODO: Testing
  4. 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.

About

Hive for Mobile - Swift Vapor server

License:Apache License 2.0


Languages

Language:Swift 95.3%Language:Shell 3.4%Language:Dockerfile 1.4%