https://github.com/imran-2022/ecomback
complete mern ecommerce web app.
https://github.com/imran-2022/ecomback
bcrypt express joi json-web-token lodash mailgun-js mongodb mongoose node react redux rtk-query stripe tailwind
Last synced: about 2 months ago
JSON representation
complete mern ecommerce web app.
- Host: GitHub
- URL: https://github.com/imran-2022/ecomback
- Owner: Imran-2022
- Created: 2022-12-24T16:37:13.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2023-04-09T05:48:31.000Z (about 3 years ago)
- Last Synced: 2026-01-03T12:24:09.264Z (5 months ago)
- Topics: bcrypt, express, joi, json-web-token, lodash, mailgun-js, mongodb, mongoose, node, react, redux, rtk-query, stripe, tailwind
- Language: JavaScript
- Homepage:
- Size: 210 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## E-com
###### using MERN with redux+tailwind css
- Backend Authentication
- Install necessary dependencies like bcrypt, jsonwebtoken, and express-validator.
- Create User model schema using mongoose for storing user data in MongoDB.
- Implement login, register, reset/forgot password, and email verification endpoints using Express.js.
- Role-based Authorization
- Create two types of user roles: general user and admin.
- Use jsonwebtoken to generate and verify tokens for authenticated users.
- Implement middleware functions that check if the user has the correct role before granting access to specific routes.
- Pagination, Filtering, and Searching Products
- Use mongoose's built-in methods to handle pagination and filtering on the server-side.
- Implement searching products by name, category, or any other relevant criteria using MongoDB's text search feature.
- User Profile Management
- Allow users to update their profile information, including address and contact details.
- Secure these endpoints by requiring authentication and role-based authorization.
- Stripe Payment Method Integration
- Use Stripe API to embed payment functionality into your website.
- Process payments securely and store relevant transaction and order data in your database.
- Order History and Delivery Tracking
- Allow users to view their purchase history and track their orders' delivery status.
- Use webhooks to notify users about order updates in real-time.
- Admin Dashboard for Product Management
- Create a separate dashboard for admins to manage products, categories, and other details.
- Use a UI framework like React, Tailwind CSS to make it more user-friendly.
- a fully functional eCommerce website built using the MERN stack.
## Used Tech :
##### Frontend
- react-js
- redux toolkit
- rtk query
- tailwind-css
- stripe payment
##### Backend
- node-js
- express-js
- mongodb
- mongoose
- jsonwebtoken
- joi
- bcrypt
- mailgun
- lodash
###### -----------# end for now 😀