Giter Club home page Giter Club logo

shop's Introduction

shop

Fully authenticated with JWT-token, google reCaptcha for distinguish between human and bot. e-commerce app built with the MERN stack along with Redux for state management.




Clone the project

git clone https://github.com/POOL4T7/shop.git
cd shop

Install dependencies for server/client

# Install dependencies
npm run install-packages

# for more info look at package.json on root folder

Before starting the server make a .env file on root folder and add your constant value

  • NODE_ENV
  • MONGO_URL
  • JWT_SECRET
  • PAYPAL_CLIENT_ID (if you want to add payPal-Sdk)
  • RECAPTCHA_SECRET_KEY (if you want to add google reCaptcha)

if you want to add google reCaptcha then make a another .env file in frontend folder and add your constant value

  • REACT_APP_RECAPTCHA_KEY

Run the server && client simultaneously

# make sure you are on root directory of project
npm start
# Server runs on http://localhost:5000 and client on http://localhost:3000

Deployment

There is a Heroku post build script so that you do not have to compile your React frontend manually, it is done on the server. Simply push to Heroku and it will build and load the client index.html page

shop's People

Contributors

pool4t7 avatar

Stargazers

 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.