In today's session, we learned how to create and initialize express and Jasmine from scratch.
We learned how to make a coherent express file structure that promotes scalability using express router.
We then added prettier and went through the basic configuration and created the required file structure.
We finally learned how to make unit tests that makes sense and how to make unit tests for our endpoints.
- What is Express.js middleware?
- How does Express.js middleware work?
- How to use Express.js Router
- How to structure our Express.js project?
- What is unit testing?
- Why should you use unit testing?
- The what, how and why of TDD (Test Driven Development)
- How to set up Jasmine and write your first unit test
- How to use SuperTest to test endpoints with Jasmine