This is backend repo for samay application
- Run
npm installto install dependencies - Create
.envfile and copy contents from.env.exampleto run application. - Follow db setup section for setting up database.
- Run
npm run devfor running application
- Install postgres
- Change db username and password in .env file
- Run
npx prisma migrate dev --name initfor the first time - Run
npx prisma migrate dev --name added_job_titlefrom second time - Run
npx prisma migrate devto migrate schema
- Swagger docs present at
/docsendpoint - Use swagger for API testing