https://github.com/ananthakrishnan12/e-commerce-api
https://github.com/ananthakrishnan12/e-commerce-api
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/ananthakrishnan12/e-commerce-api
- Owner: Ananthakrishnan12
- Created: 2025-01-06T10:05:46.000Z (5 months ago)
- Default Branch: main
- Last Pushed: 2025-01-06T12:20:26.000Z (5 months ago)
- Last Synced: 2025-01-06T12:21:50.415Z (5 months ago)
- Language: Python
- Size: 48.8 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: Readme.md
Awesome Lists containing this project
README
# E-Commerce API
## Overview
The **E-Commerce API** is a backend application designed to handle the core functionalities of an online store. This project offers features like product management, order creation, and user authentication. It is an ideal starting point for developing scalable and secure e-commerce platforms.---
## Features
- 🛍️ **Product Management**: Add, update, delete, and list products.
- 🛒 **Order Management**: Create and manage orders.
- 🔑 **Authentication**: Secure user authentication using JSON Web Tokens (JWT).
- 🛡️ **RESTful API**: Simple, clean, and RESTful API architecture.---
## Technologies Used
- **Framework**: Django, Django REST Framework
- **Database**: MySQL
- **Programming Language**: Python
- **Authentication**: JSON Web Token (JWT)---
## Prerequisites
1. **Create a Virtual Environment**:
```bash
python -m venv (Project_name)
cd (Project_name)
activate2. **Installation**:
**clone the respository**
```bash
git clone https://github.com/yourusername/Ecommerce-API.git
cd Ecommerce-API3. **Install Required Packages**
```bash
pip install -r requirnments.txt4. **Database Setup**
```bash
In settings.py
DATABASES ={
'default': {
'ENGINE': 'django.db.backends.mysql',
'NAME': 'ecommerce',
'USER': 'your-username',
'PASSWORD': 'your-password',
'HOST': 'localhost',
'PORT': '3306',
}
5.**Migrations**
```bash
python manage.py makemigrations
python manage.py migrate6. **start the development server**
```bash
python manage.py runserver## API Testing DEMO... 