The Smoothie API is a RESTful service that provides endpoints for creating, reading, updating, and deleting smoothie recipes and their ingredients. Built with Django and Django REST Framework, the API offers a reliable and scalable solution for managing your smoothie data.
- List All Smoothies: Retrieve a list of all available smoothie recipes.
- Retrieve a Smoothie: Fetch details of a single smoothie by its ID.
- Create a New Smoothie: Add a new smoothie recipe.
- Update a Smoothie: Modify details of an existing smoothie.
- Delete a Smoothie: Remove a smoothie from the database.
- Ingredient Management: Handle CRUD operations for smoothie ingredients.
- Django
- Django REST Framework
- Python
-
Clone the repository:
git clone https://github.com/yourusername/smoothie-api.git
-
Navigate to the project folder:
cd smoothie-api -
Create and activate a virtual environment:
python -m venv venv source venv/bin/activate # On Windows, use `venv\Scripts\activate`
-
Install required packages:
pip install -r requirements.txt
-
Run migrations:
python manage.py makemigrations python manage.py migrate
-
Start the development server:
python manage.py runserver
Feel free to customize this README file according to your project's requirements. A well-documented README can go a long way in explaining how to use and contribute to your project.