Skip to content

ahlem-phantom/flask-microservices-kong

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

⚡ Flask Microservices Using Kong API Gateway

📃 About Microservices

This is an example project which demonstrates the use of microservices. Our backend is powered by 4 microservices, all of which happen to be written in Python using Flask.

  • Movie Service: Provides information like movie ratings, title, etc.
  • ShowTimes Service: Provides show times information.
  • Booking Service: Provides booking information.
  • Users Service: Provides movie suggestions for users by communicating with other services.

📐 Microservice Architecture

(back to top)

🚀 Built With

You may find below the list of the frameworks/libraries that we used to build this demo project :

(back to top)

✨ Getting Started

To get a local copy up and running follow these simple example steps.

🚧 Prerequisites

You may find below the list of things you need to use this project :

  • Make sure python is installed on your system.
  • You will need to install docker.

🛠 Installation

In order to install the app you need to follow the instructions below :

  1. Clone the repo

    git clone https://github.com/ahlem-phantom/flask-microservices-kong.git
  2. Dockerize the application :

    docker-compose up 
  3. Open localhost:8000 in the browser and that's it you can use microservices 🎉!

(back to top)

Demo

To get started, I want to get my bookings so all I have to do is to type localhost:80/bookings/bookings. Kong service will check if the bookings microservice exists and then will get the bookings from the bookings microservice.

Display:

🙌 Acknowledgments

(back to top)

Releases

No releases published

Packages

No packages published