- Course Plan
- Environment setup
- Create Express Server
- HTTP Request & Server
- nodemon and morgan package
- API testing with postman
- Middleware Types of middleware (for any purpose any need of project)
- Express Error Handing Middleware
- How To handle HTTP errors -> http-erros
- How to secure API --> xss-clean, express-rate-limit
- Environment variable and .gitignore
- MVC (Model Views Controller) Architecture
- connect to mongodb database
- Schema and model for user
- Create Seed Route for Testing
- GET/api/users --> isAdmin --> getAllUsers --> searchByName or Email or phoneNumber and pagination
- responseController for error or success
- GET/api/users/:id --> get a single user by id
- How To Create Services in the backend
- DELETE/ api/users/:id --> delete a single user by id
- Refactoring and resuablity dynamic
- deleteImage Handler
- POST->api/users/process-register =>process the registration
- Create JWT
- setup smtp server and prepare email
- send email with nodemailer
- POST/api/users/verify --> verify + register into database
- add multer middleware for file upload
- Filtering files by size and types
- add express validator middlware
- should we store image as string or buffer --> I actually do it on cloudinary
- PUT/api/users/:id --> update a single user by id
- POST/api/auth/login --> user login
- POST/api/auth/logout --> user logout
- middlewares -> isLoggedIn, isLoggout, isAdmin
- input validation when signed in and refactoring
- PUT/api/users/ban-user ---> ban user
- PUT/api/users/unban-user --> unban user
- PUT/api/users/update-password --> update the password
- POST/api/users/forget-password --> forget the password
- PUT/api/users/reset-password --> reset the password
- GET/api/auth/refresh --> generate refresh the token
- GET/api/auth/protected --> verify the token and give access to other routes
- refactoring
- modular code structure
- winston logger library
- Category Model and Input Validation
- category CRUD --> Create Category
- Category CRUD --> Read Category
- Categroy CRUD --> Update Category
- Category CRUD --> Delete Category
anisul-ecommerce-project-server's Introduction
anisul-ecommerce-project-server's People
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.