This project focuses on building a REST API for a recipe application using Django and Django REST Framework (DRF). The primary goal is to implement Test-Driven Development (TDD) principles to ensure a robust and reliable application. The app is containerized with Docker to guarantee consistent development and deployment environments. There is no frontend; instead, user documentation and API testing are handled via DRF Spectacular and Swagger.
- 🔗 REST API: Build and manage a comprehensive API for the recipe application.
 - 🧪 TDD Approach: Developed with Test-Driven Development principles to ensure high code quality and reliability.
 - 🐳 Dockerized: Containerized using Docker for reproducibility and consistency across different environments.
 - 📄 API Documentation: Integrated DRF Spectacular for detailed and user-friendly API documentation.
 - 🔍 API Testing: Utilize Swagger UI for interactive API testing directly in your browser.
 
- Docker: Ensure Docker is installed on your machine.
 - Docker Compose: Required for managing multi-container Docker applications.
 
- 
Clone the Repository:
git clone https://github.com/iramamy/REST.git cd REST - 
Build and Run the Docker Container:
docker compose build
 - 
Run the Tests:
docker compose run --rm app -sh 'python manage.py test' - 
Run the Server:
docker compose up
 - 
Access the API Documentation:
Once the container is running, you can access the API documentation and interactive testing interface via:
- DRF Spectacular: http://localhost:8000/schema/
 - Swagger UI: http://localhost:8000/api/docs/
 
 
- If you are running these commands on Linux, you may need to prepend 
sudoto thedocker composecommands.