Change remotes from this project to match yours!
asdf install
yarn install
.env
file!
PORT=8080
MONGODB_URI=*****************************************
# development environment
yarn dev
# Drop all tables
yarn db:drop
# Seed database
yarn db:seed
# Reset database (drop + seed)
yarn db:reset
- All games: http://localhost:8080/games
- One game: http://localhost:8080/slugOfTheGame
- All platforms: http://localhost:8080/platforms
- One platform: http://localhost:8080/platforms/slugOfThePlatform
GET /platforms
GET /platforms/:slug
GET /games/
GET /games/:slug