Build a REST API with Node.js, Mongoose & TypeScript
Note: This repository and video has been recreated
- New repository: https://github.com/TomDoesTech/REST-API-Tutorial-Updated
- New video: https://www.youtube.com/watch?v=BWUi6BS9T5Y
Article: https://tomanagle.medium.com/build-a-rest-api-with-node-js-typescript-mongodb-b6c898d70d61 Video: https://youtu.be/goUbHgAzPCs
Note: This repository includes the postman collection for the finished API
Who is this tutorial for?
- Junior to mid-level developers
- Anyone interested in building REST APIs with TypeScript
Why?
- REST APIs are the staple of the web development industry
- Knowing how REST APIs is important for both back and frontend developers
- There's no better way to understand how they work than to build one
Concepts
-
REST API principals
- CRUD
- HTTP methods
- What REST is and is not
-
JWT & refresh tokens
Technologies
- Node.js
- MongoDB with Mongoose
- TypeScript
- Express.js & Express.js middleware
Video structure
- What are we going to build
- Bootstrap application
- Build out registration
- Build out post CRUD operations