
Learn to build a RESTful API with Node.js, connect to MongoDB Atlas, and develop an Angular UI that manages books via the API with differing user rights.
Get a quick overview of Visual Studio Code, download for Mac or Windows and install it, then use terminal-integrated, isolated sessions to manage back-end and front-end projects.
Initialize the API project, set up dependencies, and establish core components. Build book and user routing with sign-up, login, token-based authorization and headers, and models, then test with Postman.
initialize the project by creating backend and frontend folders under book app, set up api and models directories, then install npm modules like express, bcrypt, jsonwebtoken, mongoose, and morgan.
Build a book routing module with Express and Mongoose, including routes to list all books, view details by id, and manage create, update, and delete operations with authentication.
Learn to implement book routing with patch and delete endpoints, updating and deleting books by id and handling 200 responses and errors; then build user signup with JWT authentication.
Build a login route that authenticates users by email and password. Hash passwords and issue a token with expires in one hour on success.
Create a middleware check authorization under api/middleware that validates a JWT from the Authorization header using jwt.verify with a secret, and return 401 unauthorized when verification fails.
Test and troubleshoot the API by identifying small code mistakes, running the server, and resolving authorization issues with tokens during user signups and book access.
Initialize the project, install backend packages, and spin up the API server, then configure book and user routing and modular authorization with token-based requests.
Initialize a front-end project and build UI components for signup, login, and add/edit books; implement a header interceptor for authorization and an API service for backend routing.
Create an interceptor to act as a middleman for API requests by cloning and modifying the HTTP request to include a JWT authorization token from local storage, then forward it.
Create api service with http calls using http client, covering login, signup, add book, get books, delete book, and update book endpoints. Integrate with the app and Engy module.
Learn to build UI components and templates in the templates directory using ng generate, creating books, add books, sign-up, and sign-in components, and update their component files.
Learn to implement a login component by adapting sign-up code, wiring the API service, handling login responses, storing the token and user type in local storage, and linking to sign-up.
Populate the add books component by wiring add new book to the back end, and implement error handling with toasts, price and ISBN validations.
Follow a practical debugging session that tunes front-end and back-end communication, fixes API routing, login versus sign-up flows, token handling, and navigation to the books page.
Navigate the app walkthrough by creating and editing books as an admin, assign user roles via the API, and explore debugging tools like the console and network tab to verify requests.
Learn to build a front-end app with nodejs and angular, using an api service and interceptor for authorization, with signup, login, book editing, grid display, and logging.
NodeJS is a platform that allows developers to write server side high performance and network applications and that too using the good old JavaScript. Angular is one of the most popular JS frontend framework and you can build really awesome apps using the power of Node and Angular.
If you want to master NodeJS and Angular and want to build applications using these amazing technologies, then this is the perfect course for you! From the very start, you’ll be learning how to program using projects and working through challenges that we’ve designed to reinforce what you’ve learned. This will give you the hands-on experience necessary to create and launch your own project once you’re done. In this course, you will gain a deep understanding of Node based restful APIs and will learn to create Angular based UI. You will also learn to work with Mongo DB on Cloud.
In this course learn
How to interact between UI and the backend
How to create Rest API
How to make calls and use API as standalone service,
How to integrate MongoDB from NodeJS,
How to build a database library from scratch and so much more!
Everything you need to learn comes packed in this easy-to-learn package! So what are you waiting for enroll now and get started building your very own apps with NodeJS and Angular !