Giter VIP home page Giter VIP logo

easybuy's Introduction

EasyBuy

Project Overview

The platform is designed to facilitate seamless online shopping experiences for users while providing efficient product management for administrators.


Table of Contents


Requirements

User Management

  • Registration and Authentication

    • Users can register with their first name, last name, email, password, and date of birth.
    • Email verification for account activation.
    • Password recovery options via recovery email and OTP-based reset.
  • Profile Management

    • Users can view and update their profile information.
    • Address management with support for multiple addresses.
    • Role-based access control (user and admin roles).
    • Ability to block users from making purchases if they cancel an order, requiring them to use a card for future purchases.

Product Management

  • Product Operations

    • Admins can perform CRUD operations on products.
    • Products have attributes such as name, description, price, discount, etc.
  • Category and Brand Management

    • Categories and sub-categories for organizing products.
    • Brands can be created with a name and associated logo.

Order Management

  • Cart and Order Operations
    • Users can add, update, and remove items from their cart.
    • Order placement, tracking (pending, shipped, delivered, cancelled), and history.

Coupon Management

  • Coupon Operations
    • Admins can create coupons with codes, discounts, expiry dates, and usage limits.
    • Users can apply coupons to their orders for discounts.

Search and Filter

  • Product Search
    • Users can search for products by name, category, brand, etc.
    • Advanced filtering and sorting options based on price, discount, rating, etc.

Reporting and Analytics

  • Reporting
    • Generate sales reports, user activity reports, and analyze product performance.

Database Design

Overview

The database utilizes MongoDB with collections structured as follows:

  • Users: Stores user information including profiles and addresses.
  • Products: Contains product details, categories, brands, and associated images.
  • Categories: Organizes products into main categories and sub-categories.
  • Brands: Stores brand information including logos.
  • Orders: Tracks user orders with details on products, quantities, and statuses.
  • Reviews: Stores user reviews and ratings for products.
  • Carts: Manages user shopping carts with products and quantities.
  • Coupons: Stores coupon details including codes, discounts, and usage limits.

Schema Diagram

Database Schema Diagram


API Documentation

For detailed API documentation, please refer to my Postman Documentation.


easybuy's People

Contributors

tasbeehismail avatar

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.