ecommerce
所属分类:硬件设计
开发工具:JavaScript
文件大小:19194KB
下载次数:0
上传日期:2022-12-23 14:15:24
上 传 者:
sh-1993
说明: 我根据大学对电子商务的要求设计和编程了这个项目,但我不能满足您的需求...
(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.)
文件列表:
backend (0, 2022-12-23)
backend\components (0, 2022-12-23)
backend\components\categories (0, 2022-12-23)
backend\components\categories\categoryController.js (1719, 2022-12-23)
backend\components\categories\categoryModel.js (356, 2022-12-23)
backend\components\categories\categoryRoutes.js (636, 2022-12-23)
backend\components\databaseConfig (0, 2022-12-23)
backend\components\databaseConfig\database.js (499, 2022-12-23)
backend\components\middleware (0, 2022-12-23)
backend\components\middleware\auth.js (872, 2022-12-23)
backend\components\middleware\catchAsyncError.js (113, 2022-12-23)
backend\components\middleware\error.js (2015, 2022-12-23)
backend\components\middleware\multer.js (737, 2022-12-23)
backend\components\orders (0, 2022-12-23)
backend\components\orders\orderControllers.js (3785, 2022-12-23)
backend\components\orders\orderModel.js (2337, 2022-12-23)
backend\components\orders\orderRoutes.js (769, 2022-12-23)
backend\components\payment (0, 2022-12-23)
backend\components\payment\paymentController.js (1180, 2022-12-23)
backend\components\payment\paymentRoutes.js (382, 2022-12-23)
backend\components\products (0, 2022-12-23)
backend\components\products\productControllers.js (8201, 2022-12-23)
backend\components\products\productModel.js (2687, 2022-12-23)
backend\components\products\productRoutes.js (1396, 2022-12-23)
backend\components\users (0, 2022-12-23)
backend\components\users\userControllers.js (9094, 2022-12-23)
backend\components\users\userModel.js (2278, 2022-12-23)
backend\components\users\usersRoutes.js (1332, 2022-12-23)
backend\components\utils (0, 2022-12-23)
backend\components\utils\errorHandler.js (410, 2022-12-23)
backend\components\utils\jwtToken.js (533, 2022-12-23)
backend\components\utils\sendEmail.js (805, 2022-12-23)
backend\package.json (1385, 2022-12-23)
backend\server.js (2633, 2022-12-23)
backend\uploads (0, 2022-12-23)
backend\uploads\1665587608923-bak-1.jpg (475609, 2022-12-23)
backend\uploads\1665591705762-videocapture_________-______.jpg (586085, 2022-12-23)
... ...
(tasawq)
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.
:computer:
Demo
:coffee:
Abobaker Hilal
:link:
d-s
_________________
Table of Contents
-
About The Project
-
Getting Started
-
Project Architecting Files
- Contributing
- Contact
### Built With
The libraries I used to build the website.
* [Expressjs Back-end](https://expressjs.com/)
* [Reactjs Front-end](http://reactjs.org/)
* [Ant Design](https://ant.design/)
# Getting Started
To run the project locally on your device You need to :arrow_down:
## Prerequisites
- download Npm.
* npm
```sh
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
```sh
mongorestore -d
```
- Or create database with name 'ecommerce' inside MongoDB Compass
## Installation
Let's install the project locally and run it :running_man:.
1. First Clone the repo
```sh
git clone https://github.com/beko09/ecommerce.git
```
2. Run Back-end first
Entering a folder backend
```sh
cd backend
```
2. Install NPM packages
```sh
npm install
```
or
```sh
yarn install
```
3. To run project as dev (see :sassy_man: package.json)
```sh
npm run dev
```
4. Entering a folder backend :smile:
```sh
cd frontend
```
2. Install NPM packages
```sh
npm install
```
or
```sh
yarn install
```
3. To run project as dev (see :sassy_man: package.json)
```sh
npm start
```
[:arrow_up: Back to top](#top)
## :open_file_folder: Project Architecting Files
```css
│
├── 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 :eyes: the [open issues](https://github.com/beko09/ecommerce/issues) for a full list of proposed features (and known issues).
[:arrow_up: Back to top](#top)
# Contributing
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!
1. Fork the Project
2. Create your Feature Branch
```bash
git checkout -b feature/AmazingFeature
```
3. Commit your Changes
```bash
git commit -m 'Add some AmazingFeature'
```
4. Push to the Branch
```bash
git push origin feature/AmazingFeature
```
5. Open a Pull Request
[:arrow_up: Back to top](#top)
# Contact
Abobaker hilal - [@facebook](https://www.facebook.com/abobakerhilal/)
Abobaker hilal - [@linkedin](https://www.linkedin.com/in/abobakerhilal/)
Blog: [d-s](https://www.d-s.sd)
[:arrow_up: Back to top](#top)
近期下载者:
相关文件:
收藏者: