Made for educational purposes.
• Node^16
Firstly clone this repository.
Then to install the packages needed run:
npm install
• To start the server run:
npm start
• To start the server in dev mode run:
npm run dev
This will use nodemon to enable fast reload
• To access db direclty via GUI the project uses Prisma Studio, start the service by running:
npx prisma studio
Since the project uses Prisma, to edit tables or relations between them you have to edit the file prisma/schema.prisma
, for documentation you can check out the Prisma documentation
After that you have to run the following command to reflect your changes on the database:
npx prisma migrate dev --name init