The project is made of three components
- Frontend - written in react
to run use
cd client
npm run dev
# or
npm run preview
- Headless CMS (Sanity)
to run use
cd ecom
npm run build
npm start
- Backend - written in express
to run use
cd server
npm run dev
# or
node server.js
also do make sure to fill in appropriate api keys for stripe, mongo database and backend apis in client in respective repos