Skip to content

Latest commit

 

History

History
19 lines (12 loc) · 821 Bytes

README.md

File metadata and controls

19 lines (12 loc) · 821 Bytes

How to Create an Ecommerce Site with React

Ecommerce

The code to accompany this SitePoint tutorial on creating a basic ecommerce site with React, using React Context for state management, and adding a basic method for handling authentication and cart management.

Requirements

Installation Steps (if applicable)

  1. Clone repo
  2. Run npm install
  3. Run ./node_modules/.bin/json-server-auth ./backend/db.json --port 3001 to start the backend server
  4. Run npm start to start the Create React App dev server
  5. Visit http://localhost:3000/
  6. Log in with either [email protected] or [email protected] and the password password.