- Clone the repository
- Run
npm i
to install the modules - Copy the
.env.example
file and rename it to.env
- For serving API on your local, you need to have
json-server
globally installed.- Serve the api with the command
json-server --watch src/server/db.json
. - it usually runs on
http://localhost:3000
so copy this as aAPI_BASE_URL
toenv
file. - You can also use the API served on glitch with url
https://cypress-wholesale-pea.glitch.me
as theAPI_BASE_URL
- Serve the api with the command
- Run
npm run dev
to start the project on local development
You can check the project live on netlify