https://github.com/hanymedhat10/amazon-backend-api
expressJs backend rest api - Amazon Backend (API) Ecommerce project for flutter Amazon app Clone
https://github.com/hanymedhat10/amazon-backend-api
docker ecommerce-api expressjs javascript mongodb mongodb-atlas mongoose rest-api restful-api
Last synced: 3 months ago
JSON representation
expressJs backend rest api - Amazon Backend (API) Ecommerce project for flutter Amazon app Clone
- Host: GitHub
- URL: https://github.com/hanymedhat10/amazon-backend-api
- Owner: HanyMedhat10
- License: mit
- Created: 2024-09-19T22:07:09.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2025-03-18T21:27:26.000Z (over 1 year ago)
- Last Synced: 2026-01-03T16:32:50.096Z (6 months ago)
- Topics: docker, ecommerce-api, expressjs, javascript, mongodb, mongodb-atlas, mongoose, rest-api, restful-api
- Language: JavaScript
- Homepage:
- Size: 115 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Amazon Backend API
## Description
Backend API service for Amazon clone application. This service provides the necessary endpoints for user authentication, product management, and order processing.
## Associated Projects
- 📱 Mobile App Repository: [Amazon App Clone](https://github.com/HanyMedhat10/Amazon_App_Clone.git)
## Dependencies
```json
{
"bcrypt": "^5.1.1",
"bcryptjs": "^2.4.3",
"config": "^3.3.12",
"cros": "^1.0.1",
"dotenv": "^16.4.5",
"express": "^4.21.0",
"http": "^0.0.1-security",
"jsonwebtoken": "^9.0.2",
"mongod": "^2.0.0",
"mongoose": "^8.7.0"
}
```
## Development Dependencies
```json
{
"nodemon": "^3.1.7"
}
```
## Features
- User Authentication
- Product Management
- Order Processing
- Admin Dashboard
- Cart Management
## Getting Started
1. Clone the repository
2. Install dependencies:
```bash
npm install
```
3. Create a `.env` file with required environment variables
```env
DB_URL=your_DB_URL
JWT_SECRET=your_JWT_SECRET
```
4. Run the development server:
```bash
npm run dev
```
## Available Scripts
- `npm start`: Start the production server
- `npm run dev`: Start development server with nodemon
- `npm run start:debug`: Start server in debug mode
- `npm run start:dev`: Start server in watch mode
## API Base URL
```
/api
Available endpoints:
/api/auth - Authentication routes
/api/admin - Admin management routes
/api/product - Product management routes
/api/user - User management routes
```
## Author
Hany Medhat
## License
This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.