Skip to content

SA-K1B/meal_finder_drf_flask

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🚀 Python Microservices

A Python-based microservices application that allows searching for meal based on categories and view search history.

🔧 Tech Stack

  • Django Rest Framework
  • Flask
  • PostgreSQL
  • RabbitMQ
  • Nginx
  • Docker

📌 Project Highlights

Django Rest Framework: Built an api using django rest framework for searching meal which retrieves meal data from an external api.

Flask: Built a Flask application to display previously searched meal categories, allowing users to view their search history.

PostgreSQL: Used PostgreSQL as the database for each service, storing meal search data and user history in separate databases.

RabbitMQ: Implemented RabbitMQ as a message broker to facilitate asynchronous communication between the Django and Flask services.

Nginx: Configured Nginx as a reverse proxy server to route client requests to the appropriate backend service.

Docker Compose: Used Docker Compose to manage and run all services in isolated containers.

⚙️ Installation with Docker

  1. Clone the Repository
    git clone https://github.com/SA-K1B/python_microservices_drf_flask.git
  2. Navigate to the project directory
    cd python_microservices_drf_flask
  3. Build Image
    docker compose build
  4. Start the services
    docker compose up -d

Now, the app will be available at https://localhost:8080

About

A microservices application with DRF and Flask for searching meal and viewing history. Used RabbitMQ for inter-service communication, Nginx as a reverse proxy, PostgreSQL databases, and Docker Compose for managing containers.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors