This project is a MERN stack e-commerce website
- MERN stack
- Redux
- Axios
- Nodemon
- Concurrently
- React Bootstrap
- React Router Dom v6.8
- Mongoose
- Colors.js (showing colors and warnings in terminal)
- Bcryptjs(for password encryption)
- express-async-handler (for handleing error with try-catch in every block in routes. It handles the exceptions inside async express routes)
- JWT(For Authorization)
- Multer(for uploading files)
- Morgan(HTTP request logger middleware for node.js)
This is a mono repo so the frontend and backend made into one repository. And to running frontend you have to enter the frontend directory. But for the backend, just run the command below.
In terminal, run npm run dev
In terminal, run npm run server
Without nodemon, In terminal, run npm start
In terminal, run npm start
log out and Stop the server and then In terminal, run npm run data:import
And then npm run dev
to start the services
again.
- Warning: If you've order in it then it will be removed as well. Make sure to have a backup and try to restore that backup.
...More Updates are comming...
Use [Wind Ui](https://wind-ui.com/components/) to improve the ui to make everything more dynamic.