This repository is a RESTful API for managing recipe data, developed using the Django framework. With this API, users can easily retrieve, add, modify, and delete recipe information, all using standardized RESTful protocols. The API is designed to be scalable and easily integrated into existing applications or services, making it an ideal choice for anyone looking to build recipe management functionality into their own software. Whether you're building a cooking app, a meal planning service, or anything else that involves recipe data, this API has everything you need to get started. ######Click this Link to read documentation http://ec2-34-201-57-135.compute-1.amazonaws.com/api/docs/
- Python >=
3.9
- Docker
- Git
Django>=3.0
djangorestframework>=3.12.4
psycopg2>=2.8.6
drf-spectacular>=0.15.1
Pillow>=8.2.0
uwsgi>=2.0.19
flake8>=3.9.2
-
Perform installation in the following category
1.Clone this repository
https://github.com/saidmtanzania/recipe-app-api.git
2.Change directory.
cd recipe-app-api
3.Create .env file.
.env.sample file for references
4.Run the command to build image
docker compose build OR docker-compose build
5.Run command to run api instance
docker compose up OR docker-compose up
docker compose run --rm app sh -c "python manage.py createsuperuser"
docker compose run --rm app sh -c "python manage.py test"
127.0.0.1/api/docs/
127.0.0.1/admin/
1.Clone this repository
https://github.com/saidmtanzania/recipe-app-api.git
2.Change directory.
cd recipe-app-api
3.Create .env file.
.env.sample file for references
4.Run the command to build image
docker-compose -f docker-compose-deploy.yml build
5.Run command to run api instance
docker-compose -f docker-compose-deploy run -d
docker-compose -f docker-compose-deploy.yml run --rm app sh -c "python manage.py createsuperuser"
cloud_instance_url/api/docs/
Token generated_Token_here
cloud_instance_url/admin/