Skip to content

Latest commit

 

History

History
44 lines (36 loc) · 1.69 KB

README.md

File metadata and controls

44 lines (36 loc) · 1.69 KB

API Template

Documentation Slack Team MIT License Continuous Integration Swift 4.1

This is an API server and web app written in Swift with the Vapor web framework

Requirements

Instructions

  1. Install all requirements

  2. Download or clone repository

  3. Open terminal and cd to location

  4. Setup a MySQL Database in a Docker container

    docker run --name mysql -e MYSQL_USER=root -e MYSQL_PASSWORD=password -e MYSQL_DATABASE=vapor -p 3306:3306 -d mysql/mysql-server

  5. Check to see if database is running

    docker exec -it mysql mysql -u root -ppassword

  6. Build Xcode project via Terminal with Vapor command

    vapor xcode -y