This is an e-commerce web app written in ReactJS (and currently being migrated to TypeScript). It uses Material-UI, React Router DOM, Axios, Redux Toolkit and Redux Persist.
It consumes data from a separate backend.
Clone the backend
git clone https://github.com/mfguerrero/crown-store-back.git
Go to the project directory
cd crown-store-back
Open index.js with a text editor and add the following line to the imports:
import cors from "cors";
Add the following line between lines 12-16:
app.use(cors());
Install dependencies
npm install
Start the server
npm start
Clone the frontend
git clone https://github.com/laulujan/store-react.git
Go to the project directory
cd project-react
Install dependencies
npm install
Start the server
npm start
Have fun!