404 B
404 B
Exercise
- Run MongoDB
docker-compose up
- Create
.env
file withMONGODB_URI=mongodb://root:eprosperatest@localhost:27017/nest
or just runecho "MONGODB_URI=mongodb://root:eprosperatest@localhost:27017/nest" > .env
- Create initial resident
npx nestjs-command create:resident
- Run the application
npm run start:dev
- API is at http://localhost:3000
npm run test
to run tests