- Node with version greater than or equal to 16.15.0 - Node Download
- Yarn with version greater than or equal to 2.5.7 - Yarn Download
- Nest.js with version greater than or equal to 8.5.5 - Nest Download
In the project root folder, the following commands can be executed:
$ yarn
yarn build
yarn production
yarn dev
To be able to work with the database you must create an .env file and add a connection url string with the DATABASE_URL key. Example:
DATABASE_URL="mongodb+srv://user:<pass>@database.alwism3.mongodb.net/test"
Go to http://localhost:3333 to view it in your browser locally
- MIT License (MIT)
- nest g resource {nome} --no-spec
- prisma generate
- prisma db push