/fast.coach.api

Bus ticketing platform ๐Ÿš๏ธ

Primary LanguagePython

Fast.Coach.API ๐Ÿ“Œ

FastCoach is an attempt to build a bus ticketing platform

Old repo is here

Tools and Technology ๐Ÿ‘ฉโ€๐Ÿ’ป

  1. Backend
    • FastApi
    • Python
    • PostgreSQL: storage
    • Celery: used to create workers for the background tasks
    • Flower: For monitoring background tasks
    • RabbitMQ: A backend for the background tasks

Endpoints

Users

users

auth

auth

admin (Drivers, Buses & Routes)

admin

Book a ticket

tickets

payments (AfricasTalking API)

pay

How to install and Run ๐Ÿƒโ€โ™‚๏ธ

install dependancies

pip install -r requirements.txt

start the app

uvicorn app.main:app --reload 
 

start the celery workers

celery -A celery_worker.celery worker --loglevel=DEBUG 

How to run it with Docker๐Ÿƒโ€โ™‚๏ธ

Read the Docs

locally

deployed