bex-twn/README.md

10 lines
404 B
Markdown
Raw Normal View History

2022-12-06 12:26:39 +00:00
# Exercise
2022-12-06 09:53:52 +00:00
2022-12-06 12:26:39 +00:00
1. Run MongoDB `docker-compose up`
2022-12-06 16:30:42 +00:00
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