Free hosting use for deployment
- Create account
- Display products
- Display products details, name, description, images, price & quantity in stock
- Add product to card (for verified users)
- Make payment (for verified users)
- Add comments and notes to products (for verified users)
For the admin:
- Create an admin account
- Add, Edit, Delete products
- Nodejs
- Mongodb
- Express
- Install Docker engine on your machine
- Run
docker run -p27020:27017 --name mongo-container mongo:5.0.16
This will start a container with the name "mongo-container" maped on port 27017 - Install mongo compass and connect to mongo-container on port 27020
git clone https://github.com/LoickAdjiwanou/e-commerce.git
cd e-commerce-backend
npm i
npm run data:import
npm run dev
Before running 4, check /backend/models/Product.js, an important note is added.
- In the file endpoints.txt: endpoints of the project
- In classes.txt, classes of the models used NEXT UPDATE : Payment modules
NOTE : Stuck ?... then contact me on LinkedIn (www.linkedin.com/in/loick-adjiwanou)