Notes
The Express Lane
Moving Into the Express Lane
- Express is a popular Node.js framwork for building web applications.
- Unopinionated and minimalistic.
- Don’t forget to add node_modules folder to your .gitignore file.
Creating an Express application
- Npm install Express as a dependency.
- Require it into your js file with
const express = require('express');
- Create an Express App but assigning a variable with Express invoked to it.
const app = express();
Handling requests