I have developed this project by following Patika.dev React Course
I have not developed this project by myself. Thanks to Instructor @meseven
I learnt some technologies during this development process.
- React, Context Api
- React Router v6
- React Query (Tanstack Query)
- Chakra UI, Ant Design
- Formik, Yup
- Axios
You can download backend here
Redis must be installed on your computer, if you are using Windows you can install Redis on WSL
Instead you can use Redis Cloud or other cloud solutions you want,
MongoDB must be installed on your computer
Create database test
Create collections products
, orders
, users
Create .env file on root directory, example above:
MONGO_URI=mongodb:https://127.0.0.1:27017
JWT_SECRET=ENTER_YOUR_SECRET
JWT_REFRESH_SECRET=ENTER_YOUR_REFRESH_SECRET
Install packages for backend
cd backend
npm install
Start backend
npm run dev
Install packages for client
cd e-commerce
npm install
Start client
npm start