Coder Social home page Coder Social logo

mern-marketplace's Introduction

MERN Skeleton

A skeleton application with basic user CRUD and auth features - developed using React, Node, Express and MongoDB.

MERN Skeleton

What you need to run this code

  1. Node (13.12.0)
  2. NPM (6.14.4) or Yarn (1.22.4)
  3. MongoDB (4.2.0)

How to run this code

  1. Make sure MongoDB is running on your system
  2. Clone this repository
  3. Open command line in the cloned folder,
    • To install dependencies, run npm install or yarn
    • To run the application for development, run npm run development or yarn development
  4. Open localhost:3000 in the browser

Features

  • Users with seller accounts #feature @trungdg 2021-05-15
    • Update the user model
    • Edit Profile view
    • Add a MY SHOPS link to the menu that will only by visible to sellers
  • Shop management
    • Adding shops to the marketplace
      • Defining a shop model
      • Creating a new shop
        • The create shop API
        • Test create shop API
        • Load image API for specific shop
      • Listing all shops
        • Listing all shops API
        • fetch method on frontend to request to API
        • React component to display the list of shops
      • Listing shops by owner
      • Displaying a shop
      • Editing a shop
      • Deleting a shop
  • Product management
    • Create product model
    • Create a new product
      • Create product API
      • New Product page
    • Listing products
      • The products by shop API
      • Products component for buyers
      • MyProducts component for owners
        • Deleting a product
        • Editing a product
      • Displaying a product
      • Listing product suggestions
        • Latest products API
        • Related products API
        • Suggestions component
    • Product search by name and category
      • The categories API
      • The search products API
      • The Search component
      • The Categories component
    • Implementing shopping cart
      • Adding to the cart
      • Cart icon in the menu
      • The Cart view
      • The CartItems component
        • Modifying quantity
        • Removing items
        • Showing the total price
        • Option to checkout
      • Using stripe for payments
        • Add StripeConnect component
        • Send code receive from client callback to server API and send request to oath token to receive token and update to user model

mern-marketplace's People

Contributors

thanhtrungit25 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.