https://github.com/varshamohan08/e_com_system
This project is an Prodcuct and Category Management System built using Django and Django REST Framework. It provides APIs for managing categories and products, including features for creating, updating, deleting, and retrieving records.
https://github.com/varshamohan08/e_com_system
Last synced: about 1 month ago
JSON representation
This project is an Prodcuct and Category Management System built using Django and Django REST Framework. It provides APIs for managing categories and products, including features for creating, updating, deleting, and retrieving records.
- Host: GitHub
- URL: https://github.com/varshamohan08/e_com_system
- Owner: varshamohan08
- Created: 2024-10-21T14:46:21.000Z (7 months ago)
- Default Branch: main
- Last Pushed: 2024-10-21T20:43:23.000Z (7 months ago)
- Last Synced: 2025-02-15T07:49:40.473Z (3 months ago)
- Language: Python
- Homepage:
- Size: 19.5 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
##### e_com_system
## Product and Category Management APIThis repository contains a Django REST API for managing products and categories. The API allows authenticated users to create, read, update, and delete product and category records, with prices encrypted for security.
### Features
- User authentication using JWT
- CRUD operations for products and categories
- Price encryption using the `cryptography` library
- Pagination for product listing
- Custom exception handling### Technologies Used
- Python
- Django
- Django REST Framework
- PostgreSQL
- Cryptography
- JWT Authentication### Installation
1. Clone the repository:
```
git clone https://github.com/varshamohan08/e_com_system.git
cd e_com_system
```2. Create a virtual environment and activate it:
```
python -m venv venv
source venv/bin/activate # On Windows use `venv\Scripts\activate`
```3. Install the required packages:
```
pip install -r requirements.txt
```4. Set up your PostgreSQL database and configure the settings in settings.py.
Apply migrations:
```
python manage.py makemigrations
python manage.py migrate
```5. Create a superuser to access the admin panel:
```
python manage.py createsuperuser
```6. Run the server:
```
python manage.py runserver
```### API Endpoints
Listed in [api_endpoints.md](https://github.com/varshamohan08/e_com_system/blob/main/api_endpoints.md) inside project folder.