This project is a package that is used to create a backend API.
- Clone repo
- Create SSL certs (see docs folder for more info)
- Set environment variables (see docs folder for more info)
- Run
npm install
on host machine (required for linting) - Run
make up-dev
- Run
docker ps
to get a list of running containers - Run
docker exec -it [API CONTAINER ID] sh
- Run existing database migrations
npm run prisma:migrate
- Run database seed
npm run prisma:seed
- You're good to go!
- Run all NPM commands from the container
- Create all migrations from the container