Skip to content

kirylzhautouski/MangoPeachesAndLimes

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

96 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MangoPeachesAndLimes

My personal educational project that consists of the REST API built with Django and the web application on React. API provides endpoints for retrieving random drink information, list of drinks, list of ingredients, drink and ingredient details, list of similar drinks to a particular drink. Endpoints are implemented using DRF. API supports pagination for getting list of items. All data is retrieved from TheCocktailDB.com and saved to the database in a more convinient way. It is possible to update data using django-admin command loaddata, also Celery task is set to load and update data every midnight. When data is updated similarity metrics are counted and stored in the Redis storage for a faster access. Also searching and filtering through different list of items is available. Backend is containerized using Docker Compose, instructions for how to setup and launch it are in the appropriate folder.

The frontend web application is built with React. React Router is used to implement navigation between pages. For the majority of visual items React Bootstrap is used.


Technologies: Django, DRF, Celery, Redis, aiohttp, Docker Compose, React


Example screenshots

List of all drinks that are loaded by portions in a infinite manner:

All drinks screenshot

Filters on the list of drinks:

Drink filters screenshot

Search for a drink by its name:

Searching drinks screenshot

List of all ingredients that are loaded by portions in a infinite manner:

Ingredients screenshot

Search for an ingredient by its name:

Searching ingredients screenshot

Random drink generator:

Random drink screenshot

Detail of a drink:

Drink detail screenshot

Detail of an ingredient:

Ingredient detail screenshot

DRF API docs:

API docs screenshot

Example of GET request to the drinks endpoint:

API drinks screenshot

Example of GET request to the ingredients endpoint:

API ingredients screenshot

About

Django, DRF, Celery, Redis, Docker Compose, React

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published