You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
Evert Prants b6a92325a7
add .exec() to mongo queries
2 months ago
.vscode initial data structures 2 months ago
src add .exec() to mongo queries 2 months ago
test initial 2 months ago
.eslintrc.js initial 2 months ago
.gitignore initial 2 months ago
.prettierrc initial 2 months ago
README.md add env to readme 2 months ago
docker-compose.yml some progress 2 months ago
mongo-init.js initial data structures 2 months ago
nest-cli.json initial 2 months ago
package-lock.json initial data structures 2 months ago
package.json add a test 2 months ago
tsconfig.build.json initial 2 months ago
tsconfig.json initial 2 months ago

README.md

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