Logo Lanfrica

Brayo002-bot/SmartTravels-final-project

Domain:

mobility

Record type:

software
Creator:
Bra
Host:
A unified booking system for buses, trains, domestic flights and parcels in Kenya. Integrated with the gps and chatbot. # πŸš€ SmartTravels β€” Kenya's Unified Transport Booking Platform A full-stack Django system integrating **Bus Β· Train Β· Flight** bookings, live GPS tracking, M-Pesa payments, dynamic seat allocation, parcel delivery, QR tickets, and admin dashboards. --- ## ⚑ Quick Start (2 steps) ### 1. Install Python 3.10–3.12 Download: python.org ### 2. Run ```bash cd smarttravels python run.py ``` Open **http://127.0.0.1:8000** > No pip install needed β€” all dependencies are bundled in the `/lib` folder. --- ## πŸ”‘ Test Accounts | Role | Username | Password | Dashboard | |----------------|----------------|-----------------|----------------------------------| | System Admin | `admin` | `Admin1234!` | /systemadmin/dashboard/ | | Bus Admin | `bus_admin` | `BusAdmin1!` | /buses/dashboard/ | | Train Admin | `train_admin` | `TrainAdmin1!` | /trains/dashboard/ | | Flight Admin | `flight_admin` | `FlightAdmin1!` | /flights/dashboard/ | | Driver | `driver01` | `Driver1234!` | /drivers/dashboard/ | | Passenger | `passenger` | `Pass1234!` | /accounts/dashboard/ | Login at: **127.0.0.1 --- ## πŸ“ Project Structure ``` smarttravels/ ← Django project root β”‚ β”œβ”€β”€ run.py ← ONE-CLICK START SCRIPT β”œβ”€β”€ manage.py β”œβ”€β”€ db.sqlite3 ← SQLite database (auto-created) β”œβ”€β”€ requirements.txt β”‚ β”œβ”€β”€ smarttravels/ β”‚ β”œβ”€β”€ settings.py ← All config (DB, M-Pesa, static) β”‚ └── urls.py ← Root URL routing β”‚ β”œβ”€β”€ apps/ β”‚ β”œβ”€β”€ accounts/ ← Auth, login, register, unified booking view β”‚ β”‚ └── views.py ← dashboard_view, book_trip, passenger_seat_layout, β”‚ β”‚ download_ticket (PDF with QR) β”‚ β”‚ β”‚ β”œβ”€β”€ systemadmin/ ← System Admin: full control β”‚ …