A simple Django REST API to manage products using Django and Django REST Framework.
-
Clone the repository and navigate to the folder:
git clone cd ecommerce_project
Here’s a concise version of the README.md:
markdown Copy code
A simple Django REST API to manage products using Django and Django REST Framework.
- POST /api/products/create/: Create a product.
- GET /api/products/: Retrieve all products.
-
Clone the repository and navigate to the folder:
git clone cd ecommerce_project
python -m venv venv venv\Scripts\activate
pip install django djangorestframework python manage.py makemigrations python manage.py migrate
python manage.py runserver
Use Thunder Client or any API tool to get and post