Learning Node.js by creating a video store app, by the following udemy tutorial: Node.js: The Complete Guide to Build RESTful APIs (2018).
- Build models and APIs:
- Genres
- Customers
- Restructure Genres & Customers models
- Movies
- Rentals
- Returns
- Authentication/Authorization
- Handling and logging errors
- set up winston
- add logging
- Testing
- Unit testing (genres)
- user model
- auth middleware
- Integration testing
- auth route
- genres route
- returns route
- End to end testing
- Unit testing (genres)
- Deployment
git clone https://github.com/bipro10/VidBox.git
cd VidBox
npm install
npm start
- GET
- /api/genres
- /api/genres/:id
- POST
- /api/genres
- PUT
- /api/genres/:id
- DELETE
- /api/genres/:id
- route handling using
express
- NoSQL database using
mongodb
- request validation using
joi
- database and file logging using
winston
- authentication and authorization using
jwt
andbcrypt
- unit and integration tests using
jest
andsupertest