Nest project.
- Install dependencies
$ npm install- Wake up the database
$ docker-compose up -d- Run server
# development
$ npm run start
# watch mode
$ npm run start:dev
# production mode
$ npm run start:prod- Create User
# create user
$ curl -X POST \
http://localhost:3000/api/auth/signup \
-H 'Content-Type: application/json' \
-d '{
"email": ""
"password": ""
}'
- Run Seed with token
$ curl http://localhost:3000/api/seed
-H "Authorization: Bearer <token>"- Build the image
$ docker compose up -d- Run the container
$ docker run -p 3000:3000 nestjs-starter