Skip to content

salisKingdoms/AirLines_Microservices

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

6 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

✈️ Airline Ticketing System (FastAPI Microservices)

🧩 Overview

This project is a microservices-based Airline Ticketing System built using FastAPI (v0.115.0) and PostgreSQL. It’s part of my personal learning journey β€” transitioning from .NET 6 background to mastering Python backend development.

Each service is designed to be independent, lightweight, and RESTful, with interactive API documentation powered by Swagger UI.

βš™οΈ Tech Stack

Category Technology
Framework FastAPI (v0.115.0)
Language Python 3
Database PostgreSQL
API Docs Swagger UI (auto-generated by FastAPI)
Architecture Microservices

🧱 Services

πŸ§‘β€πŸ’Ό User Service

Manages user registration, login, and authentication
Status: βœ… Completed

πŸ›« Flight Service

Handles flight schedules, routes, and airline data
Status: 🚧 In Progress

πŸ“˜ Booking Service

Manages ticket booking, payments, and seat availability
Status: 🚧 In Progress

Each service runs on a different port and communicates via REST APIs. Eventually, these services will be containerized and connected using Docker Compose.

πŸš€ How to Run (Development Mode)

1️⃣ Clone the Repository git clone https://github.com//airline-ticketing-system.git cd airline-ticketing-system

2️⃣ Setup Virtual Environment python -m venv .venv source .venv/bin/activate # for Linux/Mac .venv\Scripts\activate # for Windows

3️⃣ Install Dependencies (per service) cd user-service pip install -r requirements.txt

4️⃣ Run the Service uvicorn app.main:app --reload --port 8001

Then open your browser:

πŸ‘‰ http://127.0.0.1:8000/docs to explore the Swagger UI

image

🧠 Learning Objectives

Understand how to build scalable APIs using FastAPI

Learn microservices architecture using Python

Integrate PostgreSQL with Asyncpg (Raw SQL)

Practice good project structure, versioning, and documentation

Transition skills from .NET ecosystem to Python backend development

πŸ“ˆ Next Steps

Complete flight-service and booking-service

Add JWT authentication and service-to-service communication

Containerize with Docker and setup API Gateway

Deploy to a cloud platform (Alibaba)

πŸ’¬ About This Project

This is a self-learning project β€” I’m exploring how modern backend systems are built in Python. While I’m still learning, I focus on clean code, readable structure, and production-oriented architecture.

🧑 My goal: to grow as a software engineer who can adapt across tech stacks and still write maintainable, scalable systems.

πŸͺ„ Author

Salis Aryani Full Stack Developer (.NET β†’ Python Transitioner) 🌍 Currently learning FastAPI, Cloud, and Microservices πŸ’Ό LinkedIn

About

RestApi with FastAPI

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages