Skip to content

Aydin62/nest-rest-api-crash-course

Repository files navigation

Reference

Brad Traversy's excellent youtube tutorial



Notes

Note 1

There was actually a minor issue with the tutorial that was causing the following error at the final minutes of the course:

Nest can't resolve dependencies of the ItemsService (?). Please make sure that the argument at index [0] is available in the AppModule context.

Now, I would like to acknowledge and express my sincere thanks to Daniel Freire who had successfully resolved the issue before, and I, just like many others throughtout the world, benefited from his guidance.

Please refer to his repository in order to fully grasp the issue.


Note 2

My code differs from the original one in that, instead of an online MongoDB account with cloud services, I have used a local one on my machine (using mongosh).

That is, I have changed the ```keys.ts``` file as follows:

export default {
mongoURI:
  'mongodb://127.0.0.1:27017/?directConnection=true&serverSelectionTimeoutMS=2000&appName=mongosh+1.10.5',
};

About

Learning NestJS REST API with Brad Traversy's Crash Course

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published