Skip to content

ghassenbenzahra123/React-E-commerce-App

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

React E-commerce App (Redux, Styled Components, JWT Authen ,Stripe.js)

Shoppy is a MERN stack eCommerce App.

Built with:

  • Node.js
  • React
  • Redux
  • Express
  • MongoDB
  • Axios

Backend Server

Server-side uses JSON Web Token (JWT) to access REST API.

Shppy Backend

Run Locally

1. Install Dependencies

$ npm install

2. Create a new env file

Create an env file - Set filename.env.prod file for production and .env.devfor development and save it in the root of your project folder and add the following configuration details. You can either use the same configuration details for both development and production but it's best to make separate projects. It can be found on your firebase project settings.

// SAMPLE CONFIG .env.dev, you should put the actual config details found on your project settings

REACT_APP_STRIPE = <YOUR_STRIPE_PUBLIC_KEY> 

3. Configure the backend server

Follow the instructions from the server-side repository.

4. Run development server

$ npm start

Build the project

$ npm run build

About

Shoppy is a React and Node.js based eCommerce App.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published