Giter Site home page Giter Site logo

tchallaalbertkwame / mern-e-commerce Goto Github PK

View Code? Open in Web Editor NEW

This project forked from shubham1710/mern-e-commerce

0.0 0.0 0.0 572 KB

A simple E-Commerce app built on MERN stack with integrated Stripe Checkout.

JavaScript 96.78% HTML 3.02% CSS 0.20%

mern-e-commerce's Introduction

Mern E-Commerce

An e-commerce app built on MERN stack (MongoDB, Express, React and Node) with Stripe Checkout to handle payments. Features present in the app :-

  1. Authentication using JSON Web Tokens (JWT).
  2. Option to add, edit, view and delete all the items in our store.
  3. Option to add items or remove items from the cart for the user.
  4. Display the total bill of the cart and update it as soon as the cart is updated by the user.
  5. Using Local Storage to store the JWT so that we only allow logged-in users to buy items.
  6. Option to pay using Stripe Checkout and thus creating a new order and emptying the cart after payment is successful.
  7. Option to view all your past orders along with the bill amount for each.

Install

Backend

  1. Configure default configs. In config/default.json, set your variables.

    1. dbUrl: It can be set as mongodb://localhost/MernECommerce. NOTE: This is very basic, one without any username and password. This can be configured as per your requirement.
  2. jwtsecret: This is the key used sign jwt tokens. It can be set as dummySecret.

  3. StripeAPIKey: Create your account here register.

  4. Install dependencies with npm i.

  5. Server will start running on port 4000.

mern-e-commerce's People

Contributors

omkar-asort avatar omkarsk98 avatar shubham1710 avatar stormkid2009 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.