This is RESTful API based on django REST framework, which allows users to browse and add the products to the shopping cart and order them they can also write reviews for products, and has a customized admin panel for managing products and users.
- Backend: Django (Python), Django REST framework
- Database: SQLite (default for development)
- Clone the repository
git clone (https://github.com/MohammadHossein007/Shop-API) cd Shop-API
- Create and activate virtual environment
python -m venv venv source venv/bin/activate # On Windows: venv\Scripts\activate
- Install dependencies
pip install -r requirements.txt
- Apply migrations
python manage.py migrate
- Run the server
python manage.py runserver