• Post category:Udemy (Oct. 2021)
  • Reading time:5 mins read


With Express and MongoDB Cloud Version (Atlas), Build a Full E-Shop from Setup to Production

What you will learn

Real World Backend RESTful API For E-Commerce Platform Ready for Mobile or Web E-Shop Application

Interactive course like real-world job by assigning tasks and reviewing them with Pull Requests

Express & Mongoose Middleware

Advanced Mongoose Queries and Relationships Between Database Collections

Login & Register Users – JWT/Cookie Authentication

File Upload & Multiple File Upload

API Security (XSS protection, Rate Limiting)

Store and retrieve complex data in MongoDB

Use MongoDB in Cloud

Use modern JavaScript features (ES6, ES7)

Full E-Commerce project to add to your portfolio

Description

What is Node.js?

Node.js, or Node, is a runtime environment for executing JavaScript code outside of a browser. It is ideal for building highly-scalable, data-intensive backend services (APIs) that power your client’s apps (web or mobile apps).

Why Should learn Node?

Node is great for prototyping and agile development as well as building super fast and highly scalable apps; Companies like Uber and PayPal use Node in production to build applications because it requires fewer people and less code. Plus, Node has the largest ecosystem of open-source library, so you don’t have to build everything from scratch.

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!

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.


Subscribe to latest coupons on our Telegram channel.

What you’ll get when you sign up for this course:

  • 5 hours of HD videos, complete with exercises and solutions
  • A real-world project: you’ll build the back-end for a E-Shop, not a dummy to-do app!
  • No more wasted time on lengthy courses or out-of-date tutorials
  • Up-to-date and practical information and solutions (no fluff!)
  • The opportunity to learn at your own pace – lifetime access – so take your time if you prefer
  • Expert tips to become a Node rockstar
  • The best practices and common pitfalls to avoid
  • Watch on any device
  • Certificate of completion to present to your employer


You’ll learn to:

  • Confidently build RESTful services (APIs) using Node.js, Express.js, and MongoDB Atlas
  • Employ the best practices for Node.js
  • Avoid common mistakes


What we’ll cover:

  • Node module system
  • Node Package Manager (NPM)
  • Asynchronous JavaScript
  • Useful ES6+ features
  • Implementing CRUD operations
  • Storing complex data in MongoDB
  • Data Validation
  • Authentication and authorization
  • User Roles
  • Handling and logging errors the right way
  • Deployment

Note:

This course is including the building of the Backend API and all operations on the database, we are not doing frontend here

Checkout my other courses to connect this API’s and build frontend of the E-Shop with frontend technologies

This course is for you if:

You’re a back-end developer and want to add new technology to your stack.

You’re a front-end developer and want to transition to full-stack development.

You’ve tried other Node.js tutorials and found them to be too slow, out-of-date, and boring!

Having Node.js on your resume helps you find more jobs and make more money.

And not only this, you will have optional tasks to do and we can review them for you! Just pick up one task from the board and create the pull request to get the review, to be like in a real world experience!

English
language

Content

Introduction
Introduction
Overview to our RESTful API
Pickup Your Task and We Review it – How this course is interactive?
Join Students Tasks Board – Invitation Link + Git Repo
Tools and Environment
Installing NodeJs
Installing our Coding Editor (IDE) + Extensions
Installing PostMan to Test our API’s
Configure MongoDB Atlas
Preparing the API Server
Introduction
File Structure
Creating the Backend Server with Express
Reading Environment Variables
Create First API Call & Parsing Json Data
Logging API Requests
Installing Mongoose and Connect to MongoDB Database
Read/Write Data to Database Using API
Analysing the E-Shop Database
Create Backend API Routes & Schemas
Enabling CORS & Why Do We Need It?
Section Code
Products & Categories
Introduction
Products Model & Scheme
Categories Model & Scheme
Add and Delete Categories
Get Categories and Category Details
Update Category
Post a New Product REST API
Get a Product & List of Products REST API
Population of Category in Get a Product API
Update a Product REST API
Delete a Product REST API and Validate Id
Get Products Count for Statistics Purposes
Get Featured Products REST API
Filtering and Getting Products by Category
Changing “_id” key to “id” – more frontend friendly
Section Code
Users & Authentication
Introduction
Users Model & Schema
Post/Register a New User REST API
Hashing the User Password
Get User and List of Users Excluding Password
Login a User REST API & Creating a Token
Protecting the API and Authentication JWT Middleware
Authentication Error Handling
Excluding REST API Routes From Authentication
Add More Secret User Information to Token
Users & Admins – User Role
Get User Count REST API
Section Code
Orders
Introduction
Orders & Order-Items Model & Scheme
Array of Refs – Example of Link Order to Order Items to Products
New Order & Create Order Items on Posting New Order
Get Order Detail and Populate Products in Order Items and User Data
Update Order Status & Delete Order
Explaining the Solution
Calculating Total Price of one Order
Get Total E-Shop Sales using $sum
Get User Orders
Section Code
Product Image & Gallery Upload
Introduction
Configure Server Side Upload
Testing Image Upload with Postman
Validating Uploaded File Types
Image Upload With Product Post Request
Product Gallery Multiple Images Upload
Excluding Uploads Folder From Authentication
Section Code
What is Next?
Next Steps