Overview
Syllabus
- Introduction and Getting Started
- Create and Run a Node.js Script
- Create a Node.js package.json How to create a Project
- Installing Dependencies with NPM Node Package Manager
- How to Setup Git and Github for Node
- Getting Started with Express
- Postman and Nodemon
- Intro to JSON JavaScript Object Notation
- How to Read POST Request Body
- MongoDB Atlas Setup
- Connect to MongoDB in Node
- Environment Variables and dotenv
- Scemas and Models in Mongoose
- Reading Data from MongoDB with Mongoose
- POST Request to Save Data
- Parameterized URLs and Query String Parameters
- GET API for MongoDB ObjectId
- Updating Data with PUT Method
- Remove Data with DELETE Method
- React Frontend with Node Backend
- findOneAndReplace to Update Data
- Working with Nested Objects
- Patch with findOneAndUpdate
- Updating Nested Data
- Get Document by Nested Data ID
- Add TypeScript to Node.js Project
- TypeScript Imports and Exports
- Typed Parameters in TypeScript
- TypeScript Interfaces for Mongoose
- Conclusion and Next Steps
Taught by
Caleb Curry