bex-twn/README.md
2022-12-06 18:30:42 +02:00

10 lines
404 B
Markdown

# Exercise
1. Run MongoDB `docker-compose up`
2. Create `.env` file with `MONGODB_URI=mongodb://root:eprosperatest@localhost:27017/nest`
or just run `echo "MONGODB_URI=mongodb://root:eprosperatest@localhost:27017/nest" > .env`
3. Create initial resident `npx nestjs-command create:resident`
4. Run the application `npm run start:dev`
5. API is at http://localhost:3000
6. `npm run test` to run tests