This is an intro to Node.js. No frameworks or libraries. We will look at a bunch of the core modules including building a server with the http module.
Code:
https://github.com/bradtraversy/nodejs-crash-2024
Express Crash Course:
https://www.youtube.com/watch?v=CnH3kAXSrmU
Node.js API Masterclass:
https://www.traversymedia.com/node-js-api-masterclass
Timestamps:
- Intro & Slides
- Installation
- Node REPL
- Setup & package.json Init
- Running JavaScript Files
- CommonJS Modules
- ES Modules
- HTTP Module & Create Server
- NPM Scripts
- NPM Modules & Nodemon
- .gitignore File
- Environment Variables & .env
- Req Object
- Marking Requests From Postman
- Simple Routing
- Loading Files
- Building a Simple API
- Middleware
- Cleanup (Middleware & Handlers)
- Get Req Body For POST
- File System Module
- Path Module
- OS Module
- URL Module
- Crypto Module
- Emitting Events
- Process Object