diff --git a/README.md b/README.md index 3d3195e..7a444ca 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,9 @@ # Exercise 1. Run MongoDB `docker-compose up` -2. Create initial resident `npx nestjs-command create:resident` -3. Run the application `npm run start:dev` -4. API is at http://localhost:3000 +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