Node & Express
Leon Noel
I ain't know nothin' 'bout no Visa, I was in the park with the gang
Moms be feelin' bad, I try to tell her she is not to blame
No social security, couldn't get a license, but I still didn't complain

Express
But First

Blast To The Past
How Does The Internet Work

CRUD
Create (post) - Make something
Read (get) - Get Something
Update (put) - Change something
Delete (delete) - Remove something
What are some Create (post) requests?
What are some Read (get) requests?
What are some Update (put) requests?
What are some Delete (delete) requests?
Let's Build An App with Express

Express
Fast, unopinionated, minimalist web framework for Node.js
With a myriad of HTTP utility methods and middleware at your disposal, creating a robust API is quick and easy.

TODAY WE BUILD

Key Steps
mkdir api-project
cd api-project
npm init
npm install express --saveSetting Up The Project
app.get('/', (req, res) => {
res.sendFile(__dirname + '/index.html')
})Serving Up HTML
app.get('/api/savage', (request, response) => {
response.json(object)
})Serving Up JSON

Homework
Do: Start prepping THE BANK
Do: Complete Your Professional Links
Create: Mongo Atlas, and Postman Accounts
Read: Node.js and Express (Fullstack Open)
Do: Make Your Own API and Push To Hosting Provider

Node & Express (2026)
By Leon Noel
Node & Express (2026)
- 29