A NestJS starter project with the following features:
- CRUD operations with PrismaORM
- Seeding
- JWT and refresh token authentication
- Swagger API docs
- Dockerization
The API docs are available at http://localhost:8080/docs.
The JSON version is available at http://localhost:8080/docs-json. This can be useful for e.g Postman.
- Clone the repository
- Copy
.env.example
to.env
- Install the dependencies
npm install
- Start the database
docker-compose up -d db
- Setup the database and seed it with data
npm run resetAndSeedDb:dev
- Start the server
npm run start:dev