Building RESTful APIs with Node.js and Express
1h 18mIntermediate2022-11-14
Authors

Emmanuel Henri
Executive with 20+ years of experience in programming and design
Course details
Did you know you can use Node.js and Express to build a web API that can push and pull data from your applications via HTTP? You don't have to learn ASP.NET or Python. You don't even have to know that much about back-end programming. In this course, Emmanuel Henri shows you how to create a simple, RESTful web API with these two popular JavaScript libraries. He guides you through how to set up the project, including the Express server and testing environment, and create the endpoints that you need to add, update, and delete data from a MongoDB database. Plus, Emmanuel demonstrates how to serve static files such as images with your new API and explores additional libraries that can help streamline API development, such as Koa and LoopBack.
Skills covered
Express.jsNode.jsJavaScript FrameworksAPIsBack-End Web DevelopmentFull-Stack Web DevelopmentProjectWeb DevelopmentOpen SourceSoftware Development
Concepts
0. Introduction
- 01 - RESTful APIs with Node and Express
- 02 - What you should know
1. Setting Up
- 03 - Introduction to APIs and the libraries
- 04 - Introduction to Postman
- 05 - Install Node and Express
- 06 - Install Mongo
- 07 - Basic Babel setup
2. Initial Server Build
- 08 - RESTful APIs refresher
- 09 - Initial server setup
- 10 - Initial server files and folders
- 11 - Basic routing endpoints
- 12 - Basics of middleware and uses
3. Database Setup
- 13 - MongoDB basics refresher
- 14 - Database setup
- 15 - Schema setup
4. CRUD Operations
- 16 - Create POST endpoint
- 17 - Create all items GET endpoint
- 18 - Create specific ID GET endpoint
- 19 - Create PUT endpoint
- 20 - Create DELETE endpoint
5. Other API Options
- 21 - Static files serving
- 22 - Other potential libraries for API
Conclusion
- 23 - Next steps