
Explore the mean stack: MongoDB, Express, NodeJS, and Angular, and learn how these technologies connect to build a full functional e-commerce site through real-world projects.
Install NodeJS by downloading the LTS version for Windows or macOS, then open Visual Studio Code and run npm version in the built-in terminal.
Install and configure the Morgan middleware to log http requests from the frontend, including posts, gets, puts, and deletes, using the tiny format and app.use.
Learn to use MongoDB Atlas or MongoDB Compass to browse and connect to databases, and import or export data using a ready dataset for deployment.
Seed the database with the provided export files and json seeds by importing categories, products, orders, order items, and users, along with the included product images.
Analyze the e-shop database to shape backend routes and schemas in mongodb. Define products, categories, users, orders, and order items with key fields and references for future growth.
Organize a Node.js backend by separating schemas into models and APIs into routers, then export modules and wire product routes with Express and app.use.
Fetches the categories list and a single category by id using get requests and find by id, with response handling and Postman testing.
Use Mongoose populate to replace category ids with full category details in product responses. Populate works with single and list get requests, pulling category data via object id references.
Define the user schema with name, email, password hash, and required fields, including address, phone, and admin flag, plus a front-end friendly virtual id for seamless registration.
Hash user passwords securely with bcrypt.js in a Node.js back end. Install the library, use bcrypt.hashSync with a salt, and compare hashes during login.
Learn how to fetch the list of users and a single user in a MEAN stack app, and exclude the password hash by selecting fields like name, phone, and email.
Pass secret data in the token, such as is admin, to restrict admin panel access and validate the token on the backend with a secret, not in the front end.
Build and test a user count API in the mean stack by reusing the product count pattern, validating with postman and enabling delete operations.
Implement order and order item schemas in mongoose, linking orders to multiple items and items to products, with shipping details, total price calculation, default pending status, and a user reference.
Retrieve orders with an authenticated get request, populate user details by name, add new orders, and show products in order items with category via nested populate.
Learn to update an order status with a put request using an order id, updating only the status from pending to processed to shipped to delivered, verified via Postman.
Master image uploads for products with multer in a mean stack app, configuring destination and file names, validating png/jpeg files, testing via postman, and handling single and gallery image URLs.
Define a file type map of allowed image mime types (png, jpeg, jpg) and validate uploads by deriving extensions from mime types, rejecting non-image files such as pdf.
Install angular CLI globally with npm, resolve mac permission issues with sudo, verify via ng help, and create a desktop workspace for angular applications and libraries.
Build a practical Angular app by using modules that contain components and services. Components fetch data through services from the backend to display product lists and product details.
Explore a real-world NX monorepo with eShop, blog, and admin apps, using shared libraries, services, and a state store for login, cart, and orders.
Create the admin panel app in the NX monorepo alongside the eshop, using angular with sass styling and optional routing, then serve both apps on separate ports.
Learn how the nx vscode extension speeds angular development by generating components via a GUI with dry-run previews, options for path, module, style (scss), and selector.
Export library components and services via a central index and import them using tsconfig paths. Unify workspace paths so UI modules in products reuse shared libraries without path issues.
About This Class
Start Coding Like The Biggest Software Companies in The World!
I don't like to do theoretical things, I like to do something Practical!
This is not a reading documentation course. You have here a real-world project to learn from, and you will see the exact place of every feature of every technology used in this course.
You will learn how to build a Full Web Application MEAN stack using Angular.
In this course you will learn to use technologies like:
For Frontend :
- Angular, And Structuring your Project
- NX Monorepo
- PrimeNg Material Library
- RXJS
- NGRX For User Session
- SCSS
For Backend ( WebAPI )
- NodeJs
- Express
- MongoDB
- JWT (JSON Web Tokens)
MEAN Stack is an acronym for MongoDB, Express, Angular and Node.js – whereby all these four are integrated to form solution-built full-stack JavaScript applications.
Almost, every web development player in the market is trying to become a MEAN stack app developer.
You will learn the basics of building Angular apps. First, you will discover how to set up your environment in record time, including how to debug and run your app. Then, you will explore the Angular component library and how to style your layouts for a great feel. Finally, you will delve into how to call an HTTP API from your app.
When you’re finished with this course, you will have the skills and knowledge of Angular, Nodejs And Architecture skills which are needed to tackle profitable, cross-platform projects without learning at least multiple programming languages.
Also, this course is a perfect to the concepts of server-side web development. You’ll learn the different parts that make up the back-end of a website or web application, and you’ll gain familiarity with the Node.js runtime environment. After this course, you’ll be set up to explore popular Node frameworks like Express.js to build great API's.
You learn in this course how to use mongoDb without any installing extra tools, MongoDB is now on cloud, so you will store your database in safe place!
Main Features:
E-Shop APP From Scratch
Admin Panel to manage the E-Shop From Scratch
Great E-Shop Architecture
Admin product management
Admin user management
Admin Order details page
Changing the orders states (shipped, delivered ..)
Handling cart
Product Filtering
Login And Authentication
Checkout process (placing orders)
Using Database in the cloud
Deployment to Production Servers.
Using External Libraries
and much more ...