Express JS is a Node JS web application server framework, which is designed for building single-page and multi-page web applications. It has become the standard server framework for Node JS. Express is the backend part of something known as the MEAN stack.
Course Content
- Introduction to Express JS:What is Express?, Why Express?, Pug, Environment Setup.
- Routing:-What it does?, Routers, Routing Methods.
- Request Object:-What it does?, Syntax, Properties, Methods.
- Response Object:-What it does?, Properties, Methods
- HTTP Methods:-GET, POST PUT, DELETE
- URL Building:-Dynamic route, Pattern Matched Routes, URL Parameters, POST Parameters, Getting Any URL Parameter, Specific Routing for Specific Parameters.
- Middleware:-What is a Middleware function?, Use of Middleware, Order of Middleware Calls, Third Party Middleware(body-parser, cookie-parser, express-session).
- Component API:-Force Update, Find Dom Node.
- Templating:-What is a template engine? , Using template engines with Express, Pug Template Engine, Features and Tag of Pug, Pug Attributes, Passing Values to Templates, conditional statements and looping constructs, Include and Components.
- Serving static files:-What is static files?, Multiple Static Directories, Virtual Path Prefix
- Form Handling:-Sending And Receiving Form data, File Handling.
- Cookies:-What are cookies, How To Use cookie-parser, Adding Cookies with Expiration Time, Get Cookies, Deleting Existing Cookies.
- Sessions:-Setting of Sessions, Session Identification, Session’s Time-to-live, Regenerating New Sessions.
- Authentication:-Why It Needed?, oAuth, How To Implement.
- RESTFul APIs:-What Is Rest?, How To Set Up?.
- Scaffolding:-What is scaffolding?, Install scaffold, How To Use?.
- Error Handling:-HTTP Status Codes, Arguments(err, req, res, next)
- Debugging:- How To Set DEBUG environment?, Use Of Debug Module.