- Node/Express for server
- React for frontend
- Mongodb for database
- Stripe for payments
- Node & npm installed on your machine
- MongoDB instance running on your local machine
- Stripe account with test business setup & configure a customer from test dashboard
- Frontend
- Open terminal and goto client directory run
npm i
for install dependencies - Copy .env.example & paste on same location with a new name .env
- Update env inside .env file with your actual envs
- Now run
npm run dev
it will serve frontend on [http://localhost:5173]
- Backend
- Open another terminal and goto server directory run
npm i
for install dependencies - Copy .env.example & paste on same location with a new name .env
- Update env inside .env file with your actual envs
- Import Products data in products collection inside mongo database
- Now run
npm run dev
it will serve backend routes on [http://localhost:4000]