4 hours, including lab exercise
- Express.js is one part of the MERN web development stack (MongoDB, Express.js, React.js, Node.js), we cover at Techtonica. Express.js allows you to quickly build a website served by Node.js.
- Express enables robust routing and improve performance.
- It is flexible as there are numerous modules available on npm which can be directly plugged into Express.
Participants will be able to:
- Explain the MVC framework
- Create a basic web app using Node.js for the server and Express.js as the MVC framework
- What Express.js is
- What middleware is
- How to code a very simple web app using Express.js
- Read through lesson slides Express.js
- Video walkthrough of lesson slides Express.js
- Express.js is a web framework; Node.js is a server
- Express.js code goes inside your app.js file
- Read more about Express middleware
- Add 'morgan' middleware to log each request
- Create a new
app.js
file and make the simplest possible Express server