You have to install these softwares before starting :
Choose your operating system :
We recommend using a WSL for this project. If so, please follow the Linux procedure.
-
Create a
.envfile by copying the example file .env.example file. These values are only for the local environment, you can modify it if you want. -
Start docker services with the following command
docker-compose up -d- You need to install NodeJS packages
npm install- Generate database schema
npm run prisma:push- Generate data with Prisma seed
npm run prisma:seed- Launch the application in development mode
npm run dev- Well done, the application is running!
- UI : http://localhost:3000/ui (homepage)
- API : http://localhost:3000/api/docs (Swagger documentation)
- Run unit tests
npm test- Run unit tests with coverage
npm run test:cov- Reset Prisma database
npm run prisma:reset
npm run prisma:seed-
Create a
.envfile by copying the example file .env.example file. You can modify it if you want. -
Start docker services with the following command
docker-compose up -d- You need to install NodeJS packages
npm install- Generate database schema
npm run prisma:push- Generate data with Prisma seed
npm run prisma:seed- Launch the application in development mode
npm run dev- Well done, the application is running!
- UI : http://localhost:3000/ui (homepage)
- API : http://localhost:3000/api/docs (Swagger documentation)
- Run unit tests
npm test- Run unit tests with coverage
npm run test:cov- Reset Prisma database
npm run prisma:reset
npm run prisma:seed-
Create a
.envfile by copying the example file .env.example file. You can modify it if you want. -
Start docker services with the following command
docker-compose up -d- You need to install NodeJS packages
npm install- Generate database schema
npm run prisma:push- Generate data with Prisma seed
npm run prisma:seed- Launch the application in development mode
npm run dev- Well done, the application is running!
- UI : http://localhost:3000/ui (homepage)
- API : http://localhost:3000/api/docs (Swagger documentation)
- Run unit tests
npm test- Run unit tests with coverage
npm run test:cov- Reset Prisma database
npm run prisma:reset
npm run prisma:seed