Skip to content

Latest commit

 

History

History
51 lines (34 loc) · 1.49 KB

README.md

File metadata and controls

51 lines (34 loc) · 1.49 KB

Project Details

This project is a MERN stack e-commerce website

Things are used in this project

  1. MERN stack
  2. Redux
  3. Axios
  4. Nodemon
  5. Concurrently
  6. React Bootstrap
  7. React Router Dom v6.8
  8. Mongoose
  9. Colors.js (showing colors and warnings in terminal)
  10. Bcryptjs(for password encryption)
  11. express-async-handler (for handleing error with try-catch in every block in routes. It handles the exceptions inside async express routes)
  12. JWT(For Authorization)
  13. Multer(for uploading files)
  14. Morgan(HTTP request logger middleware for node.js)

Commands to run

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.

Running both at the same time

In terminal, run npm run dev

Server Running command

In terminal, run npm run server Without nodemon, In terminal, run npm start

Frontnd Running Command

In terminal, run npm start

Data Seeder Command (optional if you delete something from DB and want to restore/reset everything)

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...

Update Note 1:

Use [Wind Ui](https://wind-ui.com/components/) to improve the ui to make everything more dynamic.