A Real World REST API Example in Vapor
- MacOS Mojave 10.14.*
- Vapor
- Docker for Mac
- Kitura
docker pull postgres
and start the server with
docker run --name therealworld_vapor -e POSTGRES_DB=therealworld_vapor \
-e POSTGRES_USER=vapor -e POSTGRES_PASSWORD=password \
-p 5432:5432 -d postgres