ExpressJS

Learn Express.js for efficient and streamlined web development in Node.js. It simplifies building robust, scalable, and modular web applications by providing a minimalistic framework with powerful features for routing, middleware, and template engines.
Duration | 3 Months
Course Objective

ExpressJS course aims to equip learners with essential skills for building web applications. Covering routing, middleware, and template engines, it focuses on creating efficient, scalable, and modular server-side applications using the Express.js framework in Node.js.

Key Features

Duration : 3 Months
Theory Lectures : 75
Practical Lectures : 80
Theory Notes :
Certificate :
Project :
Thing You will Learn

1. Introduction
  • What is Express.js
  • why ExpressJS than nodejs
  • Advantages of Express.js
  • How Express.js Works
2. IDEs
  • Visual Studio Code
  • Sublime Text
  • Brackets
3. Setup Dev Environment
  • Installation ExpressJS
  • Command line interfaces
  • Initialize Project
4. NPM (Node Package Manager)
  • What is NPM ?
  • Installing Packages Locally
  • Adding dependency in package json
  • Installing package globally
  • Updating packages
  • Package.json
5. Middleware
  • Definition Middleware
  • Execution Order
  • Middleware Stack
  • Built-in Middleware
  • Custom Middleware
6. Express Application
  • Introduction Express module
  • Require Express
  • Create Express Application
  • Express application method
  • Create a Route
  • Start the Server
  • Run Your Application
7. Request Object
  • Request Object Properties
  • HTTP Methods
  • URL Information
  • Request Lifecycle
8. Response Object
  • Sending response
  • Sends a JSON response
  • Renders a view template
  • HTTP Methods
  • Redirects the client to a different URL
  • Response header
  • Content-Type header
  • Send file as the response
  • Ends response process.
9. Template
  • Template Engines
  • Setting up a Template Engine
  • Views Folder
  • Rendering Views
  • Passing Data to Views
10. EJS (Embedded JavaScript)
  • Installation EJS
  • Setting Up EJS in Express
  • File Extension EJS
  • Rendering EJS Views
  • Embedding JavaScript
  • Output Escaping
  • Control Flow
  • Loops
  • include
  • Passing Data to Views
11. Pug
  • Installation Pug
  • Setting Up pug in Express
  • File Extension
  • Rendering pug Views
  • Pug Syntax
  • Pug dynamic content
  • Pug conditional statement
  • Case statement
  • pug Iteration statements
  • include
  • Template inheritance
12. Static Files
  • Set up serving static files
  • Directory Structure
  • URL Mapping Static Files
  • Multiple Directories
  • Path Prefix
13. Routers
  • Modular Routing
  • Create instance of the router
  • Route Handling
  • Mount Router
  • Route Parameters
  • Chaining Routes
  • Nesting Routers
14. Query String
  • Define Query String
  • Accessing Query Strings
  • Handling Multiple Values
  • Default Values
  • URL Encoding
  • Generating URLs with Query Strings
15. Body parser
  • Parses POST data
  • Parsing data JSON and URL-encoded
  • JSON Parsing
  • URL-encoded Parsing
  • Limiting Payload Size
16. Multer
  • Multer Package
  • Installation Multer
  • Require Multer
  • Setup Multer Middleware
  • Express Route with Multer Middleware
  • Single File Upload
  • Multiple File Upload
  • File Storage Configuration
17. Database Connectivity
  • Installation MySQL Module
  • Configure the MySQL connection
  • Executing Queries
  • Insert Queries
  • Update Queries
  • Select Queries
  • Delete Queries
  • Parameterized Queries
  • Closing the Connection
18. MVC (Model-View-Controller)
  • Introduction MVC
  • Project Structure
  • Database Connection
  • Configure Connection
  • Create models
  • Controllers handle
  • Routes map HTTP
  • Views templating engine
  • App Entry Point
19. MongoDB Connectivity
  • Introduction Mongoose
  • Install Mongoose
  • Connection to MongoDB
  • Schemas MongoDB documents
  • Model Creation
  • CRUD operations
  • Leverage Mongoose middleware
  • Mongoose Populate
  • Mongoose validators
  • Closing Connection
20. Session
  • Introduction Session
  • Middleware Session
  • Installation Session
  • Configure express-session
  • Session Storage Options
  • Session Properties
  • Session ID
  • Session Expiry
  • Session Destruction
21. Cookies
  • Introduction Cookies
  • Middleware Cookies
  • Installation cookie-parser
  • Setting Cookies
  • Reading Cookies
  • Clearing Cookies
  • Secure Cookies
  • Signed Cookies
22. User Authentication
  • Introduction passport
  • Install passport
  • Require Dependencies
  • Configure Passport
  • Set Up Routes
  • Protect Routes
  • Initialize Passport in App
  • google Authentication
  • Facebook Authentication
23. Project
  • Database Management project
  • Ecommerce Website Project
  • Social media Website Project
CCIT Notes

CCIT's Node.js Notebook provides concise, hands-on guidance for mastering Node.js. Covering event-driven architecture, asynchronous programming, and building scalable applications, it's an essential resource for learners and professionals in backend JavaScript development.

  • Theory Notes
  • Course Book
  • PPT Notes
Certificate

Elevate your career prospects with CCIT's NodeJS Certificate, recognized by leading companies. As an ISO-certified institution, our certificate features QR code verification, ensuring authenticity and opening doors to top-tier opportunities in the industry.