What is NodeJS?
NodeJS is a JavaScript asynchronous event-driven runtime built on Chrome’s V8 JavaScript engine. NodeJS allows us to easily create a scalable and concurrent application.
What is MongoDB?
MongoDB is the most popular NoSQL database. The objects are stored as documents in JSON format. It’s a document-based database and comes with query language to retrieve the data.
What is REST?
REST is an architecture to build network applications. It runs on HTTP and there are 6 constraints to follow for a Restful application. They are:
- Client-Server based
- Stateless
- Cacheable
- Uniform interface
- Layered system
- Code on Demand
NodeJS MongoDB Rest API Course
We can integrate NodeJS with MongoDB to create a CRUD application. If we apply REST architecture principles, we can easily create a REST API. Let’s look at how easy it can be done.
1. Introduction
We discuss the agenda of the application.
2. Setting Development Environment
3. MongoDB Collections Setup
4. Setting NodeJS Server
5. Integrating NodeJS with MongoDB
6. Testing the Rest App
Conclusion
After this course, you should have a better understanding of REST architecture and how to easily create an API using NodeJS and MongoDB.