You cannot 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 6 months ago
.vscode initial data structures 6 months ago
src add .exec() to mongo queries 6 months ago
test initial 6 months ago
.eslintrc.js initial 6 months ago
.gitignore initial 6 months ago
.prettierrc initial 6 months ago
README.md add env to readme 6 months ago
docker-compose.yml some progress 6 months ago
mongo-init.js initial data structures 6 months ago
nest-cli.json initial 6 months ago
package-lock.json initial data structures 6 months ago
package.json add a test 6 months ago
tsconfig.build.json initial 6 months ago
tsconfig.json initial 6 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