
Learn to build a library app using a microservices architecture with three services: book, customers, and an integrating service, using Express.js, MongoDB, and hosting via MongoLab.
Set up a library folder with books service, customers service, and others service, install express, body-parser, and mongoose, then create an express app with a main route and test locally.
Connect your Node.js microservices app to a cloud mlab database using mongoose, by creating an mlab account, configuring a database and user, and testing the connection.
Define a book model with mongoose to store book data, including title (required), optional pages, and optional publisher, and implement a create post route for /book.
Learn to send post requests to a book route in a nodejs microservice app, test with postman, parse json bodies with body parser, and log request data using req.body.
Receive json data through a post request and map it to a new book object. Save the book to the database using the book model, then verify creation with Postman.
Create two Node.js routes to manage books—list all books and fetch a book by id—using the book model to query MongoDB and return JSON or a 404 if not found.
Build a delete route in a Node.js microservices web app to remove a book by its id, using the book model's find and remove, and test it with Postman.
Build a nodejs microservice for customers using express and mongoose; define a customer model and implement create, list, get by id, and delete endpoints.
Define the order model using mongoose in a Node.js microservice, with customer id and book id as object IDs and got date and delivery date as dates.
Learn to build microservices driven apps using nodejs by creating orders with a post route. Then list those orders with a get route, using mongoose models and object id handling.
Builds a route to fetch an order by id and display the customer's name and book title by querying the customer and books services, enabling inter-service communication.
Learn to build microservices driven software using NodeJS, Express and Mongo DB. A course that will teach you professional software development using microservices.
Microservices are changing the way how scalable software and applications are built globally. In this course you will learn how to think about a microservice and how to implement it to solve a real world problem. In this course We will build a Library application that will include a Book Service, a Customer Service and also an Order Service that will join the first two services to create a functional app. We will focus on technologies such as ExpressJS, MongoDB, Mongoose and mLAB. ExpressJS will be the primary framework for building the project. MongDB will be preferred database, Mongoose will help in object modeling, and lastly mLAB will host our entire project.
Our main focus is to help not only strengthen your knowledge behind the subject, but also be comfortable enough to actually start working on the technology. Using a project-based approach, the course will take you step-by-step through the entire process of building the microservices, to ensure that you understand the fundamentals correctly. This will allow you to integrate this amazing technology in your other project
The course will start by helping you set up the project, after which you will learn how to install relevant software, connecting to mLAB, defining the book model, making post request to book services, saving books to the database, listing & deleting books, customers service, defining order model, creating and listing orders, talking with other services and so much more!
At the end of this course, you will not only have the theory of how you can build microservices, but you’ll also have confidence and the experience to actually start building your very own projects from scratch.
This complete beginners course will help you not only become familiar with NodeJS and building microservices in NodeJS, but also will set you up building more complex projects on NodeJS using Express and MongoDB.
So, enroll now and start learning how to build microservices using ExpressJS!