Code Monkey home page Code Monkey logo

ecomfront's Introduction

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 ๐Ÿ˜€

ecomfront's People

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.