First make sure Docker is installed. For windows, you can install Docker Desktop. For Linux, you can install Docker and Docker compose
Copy env.example and rename it to .env
Then in the root folder type the command docker-compose up --build
If Access Denied occurs add sudo before command up and build
If it has been successfully deployed, the container will run and be visible on the Docker Desktop or can be checked using docker-compose ps
Usefull CLI Command for this project
yarn prisma studio -> for showing database like phpmyadmin
yarn prisma migrate reset -> Reseting all table and inserted database to 0
yarn prisma migrate dev -> commiting migrate database to migrate history
yarn prisma migrate deploy -> deploying latest migrate to database schema
yarn db push -> pushing changes in Schema to database
yarn db seed -> running seeder
yarn run seed -> Pushing changes in shcema and push seeder to database
yarn run dev -> starting server
yarn run dev:server -> Starting server with nodemon. So every changes will restart the server. Best for deploying when deveolpment begun
https://www.postman.com/avei20/workspace/project-anya/collection/13201462-a0cb52fe-0a1b-47d4-8eba-886ccb9d95eb?action=share&creator=13201462&ctx=documentation