-
Clone this repo using HTTPS:
https://github.com/CapstoneProjectKelompok3/NodeJS.git -
Go to the directory project
cd NodeJS -
Install dependencies ( recommended using NodeJS v.16 or more )
npm install -
Create
.envfile on directory root project -
Copy all contents from
.env exampleto.env, you can place the environment value according to the configuration on your local computer -
generate prisma client first using command
npx prisma generate -
migrate database into your db that you have created in
.envusing this commandnpx prisma migrate dev
- Run
npm run devto running application in development mode - Run
npm run testfor testing mode