Go to file
2022-12-07 08:54:34 +02:00
.vscode initial data structures 2022-12-06 14:26:39 +02:00
src more business rules 2022-12-07 08:54:34 +02:00
test initial 2022-12-06 11:53:52 +02:00
.eslintrc.js initial 2022-12-06 11:53:52 +02:00
.gitignore initial 2022-12-06 11:53:52 +02:00
.prettierrc initial 2022-12-06 11:53:52 +02:00
docker-compose.yml some progress 2022-12-06 17:47:52 +02:00
mongo-init.js initial data structures 2022-12-06 14:26:39 +02:00
nest-cli.json initial 2022-12-06 11:53:52 +02:00
package-lock.json initial data structures 2022-12-06 14:26:39 +02:00
package.json add a test 2022-12-06 18:10:34 +02:00
README.md add env to readme 2022-12-06 18:30:42 +02:00
tsconfig.build.json initial 2022-12-06 11:53:52 +02:00
tsconfig.json initial 2022-12-06 11:53:52 +02:00

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