- How to create a NodeJS backend
- Add ExpressJS into a node application
- Handle cors
- Allows ExpressJS to permit end-user to send JSON data in API
- Create routes
- Create controller
- Talk about rest API conventions
- Create a custom validation for an API endpoint
- Replace the hectic custom validation with
withvoid/make-validation
library
Youtube links:
- About ExpressJS https://www.youtube.com/watch?v=t7-yuYFVG1Y&list=PLH6pGK5zEj9mO-yS9FjQ6xhJXUagoEgOh
- Adding API Validation https://www.youtube.com/watch?v=t-KGXLM0YlE&list=PLH6pGK5zEj9mO-yS9FjQ6xhJXUagoEgOh&index=3&t=2s
Tutorial Article: https://www.freecodecamp.org/news/create-a-professional-node-express/
- https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS
- https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Destructuring_assignment
- https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_literals
- https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/some
- Postman tutorial https://www.youtube.com/watch?v=FjgYtQK_zLE
- What is middleware in ExpressJS https://expressjs.com/en/guide/using-middleware.html
- Why we have Bearer in our authorization token link here