I designed and programmed this project based on the university's requirements for electronic commerce, and I can't hide it, I had previous experience in the work of such projects.
💻 Demo ☕ Abobaker Hilal 🔗 d-s
Table of Contents
The libraries I used to build the website.
To run the project locally on your device You need to ⬇️
-
download Npm.
- npm
npm install npm@latest -g
-
download MongoDB Compass.
- Follow this link MongoDB Compass
-
Import the database included in the project file database-exm by running the following command inside MongoDB Compass terminal if you want that
mongorestore -d <database_name > <directory_backup>
-
Or create database with name 'ecommerce' inside MongoDB Compass
Let's install the project locally and run it 🏃♂️.
-
First Clone the repo
git clone https://github.com/beko09/ecommerce.git
-
Run Back-end first Entering a folder backend
cd backend
-
Install NPM packages
npm install
or
yarn install
-
To run project as dev (see 💁♂️ package.json)
npm run dev
-
Entering a folder backend 😄
cd frontend
-
Install NPM packages
npm install
or
yarn install
-
To run project as dev (see 💁♂️ package.json)
npm start
│
├── Backend
│ ├── components
│ │ ├── categories
│ │ ├── config
│ │ ├── databaseConfig
│ │ ├── middleware
│ │ ├── orders
│ │ ├── payment
│ │ ├── products
│ │ ├── users
│ │ └── utils
│ │
│ ├── uploads
│ ├── package.json
│ └── server.js
│
├── Frontend
│ ├── Public
│ ├── src
│ │ ├── components
│ │ ├── config
│ │ ├── container
│ │ ├── helpers
│ │ ├── pages
│ │ ├── redux
│ │ ├── res
│ │ ├── route
│ │ ├── utils
│ │ ├── App.js
│ │ └── index.js
│ │
│ └── package.json
│
├── preview_img
│
├── README.md
│
│
See 👀 the open issues for a full list of proposed features (and known issues).
⬆️ Back to top
Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.
If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement". Don't forget to give the project a star! Thanks again!
-
Fork the Project
-
Create your Feature Branch
git checkout -b feature/AmazingFeature
- Commit your Changes
git commit -m 'Add some AmazingFeature'
- Push to the Branch
git push origin feature/AmazingFeature
- Open a Pull Request
Abobaker hilal - @facebook
Abobaker hilal - @linkedin
Blog: d-s