A simple frontend for an e-commerce site. See Live demo.
- On your system, you should have
node
(v16.14.0 lts) andnpm
(v8.3.1) installed. Installnode
andnpm
if you don't already have them.
git clone https://github.com/akib22/assignment-frontend.git
cd assignment-frontend
npm i
- Copy the
.env.example
file and paste it into root in project directory as.env.local
. - Open the
.env.local
file and set theREACT_APP_BASE_URL
.
NOTE: Use https://assignment-shop-backend.herokuapp.com/ as REACT_APP_BASE_URL
.
- Run the project
npm start
npm run test
npm run lint
npm run lint:fix
npm run build