Skip to content

Latest commit

 

History

History
49 lines (39 loc) · 650 Bytes

README.md

File metadata and controls

49 lines (39 loc) · 650 Bytes

PrayerCompanionBackend

Development environments

Install dependencies

npm i

Run the code

"concurrently \"npx tsc --watch\" \"nodemon -q dist/index.js\""

Generate and apply migrations

npx prisma migrate dev

Reset the development database

npx prisma migrate reset

Production and testing environments

Install dependencies

npm i

Compiling TypeScript into JavaScript

npx tsc

Run the code

node dist/index.js

or use pm2

pm2 start dist/index.js

Generate and apply migrations

npx prisma migrate deploy