keen-platform

byNeel Gorasiya

PRODUCT REQUIREMENTS DOCUMENT (PRD) Airline Core Platform (ERP-Agnostic, Commercial-Ready System) 1. Product Overview 1.1 Vision To build a modular, scalable airline platform that powers: Flight operations Passenger & cargo management Commercial offerings (flights, holidays, services) Distribution and booking channels The system will be designed as a commercially viable product, capable of being used internally and later offered to other airlines. 1.2 Core Objective Deliver a fully functional airline system (operations + booking + distribution) Keep ERP systems external and replaceable Enable multi-channel sales (B2C + B2B + API distribution) Ensure high performance, scalability, and compliance 1.3 Key Principles ERP-agnostic system design Modular architecture API-first platform Real-time operations capability Multi-language and multi-currency support Full auditability of all actions 2. Product Scope 2.1 Core Airline Operations 2.1.1 Flight Planning Objective Manage all structural and operational aspects of flights. Features Airport Profiles Codes, timezone, geo data Regional mapping Aircraft Profiles Type, configuration, capacity Linked to ERP assets (via integration layer) Leg & Sector Management Master definitions (routes) Operational sectors (live flight instances) Sub-sector support (bus/truck) Maintenance Management Maintenance scheduling Logs and tracking Spare parts linkage (via ERPNext) Ground Handling Vendor mapping Task tracking Flight-level assignments 2.1.2 Flight Crew Rostering Objective Efficiently manage crew lifecycle and assignments. Features Crew profiles Role definitions (pilot, cabin crew, etc.) Crew scheduling system Flight assignment workflows Availability tracking Tablet-ready crew access 2.1.3 CRS / PSS (Passenger & Cargo System) Objective Serve as the core system of the airline for inventory, booking, and pricing. Features A. Flight & Operational Data Flight instance creation Sector and sub-sector mapping Operational data control B. Inventory Management Passenger seat inventory Cargo weight & volume inventory Seat allocation logic Allotment management (block seats for agents) C. Pricing & Revenue Dynamic pricing engine (rule-based) Fees & taxes per passenger/cargo Revenue rule configuration Pricing tiers and bundles D. Booking System Booking lifecycle: Search → Select → Hold → Confirm → Cancel → Refund Booking state management Multi-service bookings (flight + hotel + services) E. Services & Policies Luggage rules Service catalog (add-ons) Policy enforcement F. In-Flight Systems Menu management Sales tracking Order management ERP inventory sync G. Reporting Systems Pilot reports Maintenance logs Ground handling reports 2.1.4 Departure Control System (DCS) Objective Manage all airport-side operations. Features Web check-in Desk check-in Passenger boarding Cargo boarding Baggage handling Sub-sector boarding (bus/truck) QR-based boarding validation Soft POS integration 2.2 Commercial & Revenue 2.2.1 Holidays & Ancillaries Features Holiday destination management Program/package creation Route-to-holiday mapping 2.2.2 Hotel System Features Hotel profiles Direct contract allotments External API integrations: Hyperguest Webbeds Bedhotels TBO 2.2.3 Additional Services Transfers Tours Visa services Luggage shipping 2.2.4 Customer & Agent Portals Features Customer profiles Agent profiles Role-based access Booking dashboards Agent wallet/credit system Booking and revenue tracking 2.3 Digital & Experience Layer 2.3.1 CMS Backend Features Page management Offer and promotion management Content localization (AR/EN) Currency handling 2.3.2 B2C Platform Features High-performance booking UI Shopping cart experience Offer-driven UI Responsive design 2.3.3 AI Accessibility Features AI-assisted booking conversational interface contextual recommendations 2.3.4 System Requirements High-speed performance CDN-based optimization High-quality PDF/document generation Data protection (EU & Jordan readiness) Backup and disaster recovery 2.4 Enterprise & Integrations 2.4.1 System Settings Region, city, country management Currency system Language system Global configuration 2.4.2 ERP Integration (ERP-Agnostic) Objective Enable integration with ERPNext while supporting future ERP systems. Features Standard integration interfaces: createInvoice() postPayment() createVendor() syncAsset() postJournal() ERPNext adapter implementation Retry and failure handling Logging and audit 2.4.3 Enterprise Modules (via ERP + Integration) Accounting automation Vendor management Asset management Maintenance integration HR system Payroll Attendance 2.4.4 Communication Systems Email notifications SMS notifications Web chat Call center integration Notification engine 2.4.5 AI Support System Chat-based AI support Voice-based AI support Data mapping with bookings and CRM 2.4.6 Marketing Tools Email campaigns Promo codes Campaign tracking 2.4.7 Distribution APIs Outgoing flight inventory APIs Agent APIs (wallet-based) Travel Fusion integration Partner onboarding 2.4.8 Payment Gateways Multi-gateway integration Regional routing Refund and reconciliation 2.5 System Users & Roles User Types Clients Agents Administrators Flight Operations Audit Team Booking Management Revenue Management Pilot Cabin Crew Ground Handling Cargo Management Features Role-based access control Custom role creation Permission engine Full audit logging of user actions 3. Non-Functional Requirements Performance Real-time booking and inventory updates High concurrency handling Low latency APIs Scalability Cloud-native deployment Horizontal scalability Multi-region readiness Security Role-based access encrypted data audit logging GDPR-style compliance readiness Reliability High availability architecture backup and recovery failure handling and retries 4. Data & Infrastructure Databases PostgreSQL → core transactional data Redis → caching and session handling ERPNext DB → enterprise data Infrastructure Cloud (AWS/GCP) containerized deployment CI/CD pipelines monitoring and logging 5. Success Criteria The system will be considered successful when: End-to-end booking and operations are functional ERP integration works without system dependency B2C and agent systems are operational DCS supports real-world flight execution System handles real-time pricing and inventory Platform is scalable and stable 6. Product Readiness Outcome At completion, the platform will provide: Full airline operational capability Commercial booking system Distribution APIs for partners ERP-integrated enterprise workflows AI-enabled customer support Scalable, product-ready architecture 7. Future Expansion (Optional Direction) Multi-airline support (multi-tenant) advanced AI pricing optimization loyalty programs deeper analytics and BI Final Note This PRD defines a complete airline platform built with a product mindset, ensuring: independence from ERP systems flexibility for future integrations scalability for commercialization readiness for real-world airline operations

Home
Home

Comments (0)

No comments yet. Be the first!

Project Tasks37

#1

Implement Theme & Structure

To Do

As a frontend developer, I want to implement the global color palette, design tokens, typography, spacing, and layout structure across all existing scaffold pages (home, login, signup, welcome, dashboard/overview, dashboard/ai-assistant, dashboard/settings) so that they match the keen-platform mock-design reference exactly. This includes applying CSS variables (--primary: #3498DB, --secondary: #E74C3C, --accent: #F39C12, --bg: #F5F9FC, --surface: rgba(255,255,255,0.98), --text: #2C3E50, --text_muted: #BDC3C7, --border: rgba(52,152,219,0.15)), Inter font family, and removing any pages not required by the user flows. This task must be completed before any other page implementation tasks.

AI 80%
Human 20%
High Priority
2 days
AI Credits:6
Frontend Developer
#3

Build Login Page

To Do

As a user (Admin, Agent, Ground Handler, Revenue Manager), I want to sign in via the Login page so that I can access my role-specific portal. Implement the Login page (v1) based on the existing JSX design. Includes email/password fields, role-aware redirect logic, and branding. Entry point for all non-passenger user flows. Reference: Login (v1) design page.

Depends on:#1
Waiting for dependencies
AI 90%
Human 10%
High Priority
1 day
AI Credits:5
Frontend Developer
#2

Build Home Page

To Do

As a passenger, I want to browse flights from the Home page so that I can start my booking journey. Implement the Home page (v2) based on the existing JSX design. Includes the interactive 3D globe with animated flight paths, NavBar with sticky navigation, Hero section with CTA, QuickStats bar, and Footer. The globe transitions from day to night based on user's local timezone. Entry point for the Passenger flow leading to Search Results. Reference: Home (v2) design page.

Depends on:#1
Waiting for dependencies
AI 90%
Human 10%
High Priority
2 days
AI Credits:8
Frontend Developer
#14

Build DCS Dashboard Page

To Do

As a Ground Handler, I want to view all flights for the day from the DCS Dashboard so that I can manage airport-side operations efficiently. Implement the DCS Dashboard page (v1) based on the existing JSX design. Includes flight list with status badges, departure/arrival times, gate assignments, and quick-access links to Check-In, Boarding, Baggage, and Cargo Boarding. Reference: DCS Dashboard (v1) design page.

Depends on:#3
Waiting for dependencies
AI 88%
Human 12%
High Priority
1.5 days
AI Credits:7
Frontend Developer
#23

Build Revenue Dashboard Page

To Do

As a Revenue Manager, I want to view revenue performance from the Revenue Dashboard so that I can monitor KPIs, flight revenue trends, and identify optimization opportunities. Implement the Revenue Dashboard page (v1) based on the existing JSX design. Includes revenue KPI cards, trend charts, flight performance table, and quick-access links to Pricing Engine and Reports. Reference: Revenue Dashboard (v1) design page.

Depends on:#3
Waiting for dependencies
AI 88%
Human 12%
High Priority
1.5 days
AI Credits:7
Frontend Developer
#9

Build Agent Portal Page

To Do

As an Agent, I want to view my portal dashboard after login so that I can manage bookings, customer profiles, and wallet credits. Implement the Agent Portal page (v1) based on the existing JSX design. Includes booking summary cards, quick-access links to Flight Search, Customer Profiles, and Wallet, and revenue tracking widgets. Reference: Agent Portal (v1) design page.

Depends on:#3
Waiting for dependencies
AI 88%
Human 12%
High Priority
1.5 days
AI Credits:7
Frontend Developer
#19

Build Search Results Page

To Do

As a Passenger, I want to view and select a flight from the Search Results page so that I can proceed to booking my chosen itinerary. Implement the Search Results page (v1) based on the existing JSX design. Includes flight cards with pricing, filters (price, stops, duration), sort options, and CTA to proceed to Booking. Entry from Home page search. Reference: Search Results (v1) design page.

Depends on:#2
Waiting for dependencies
AI 88%
Human 12%
High Priority
1.5 days
AI Credits:7
Frontend Developer
#4

Build Dashboard Page

To Do

As an Airline Admin, I want to view an overview dashboard after login so that I can monitor platform-wide operations. Implement the Dashboard page (v1) based on the existing JSX design. Includes KPI cards, flight status summary, quick navigation links to Flight Planning, Crew Rostering, System Settings, and User Management. Reference: Dashboard (v1) design page.

Depends on:#3
Waiting for dependencies
AI 88%
Human 12%
High Priority
1.5 days
AI Credits:7
Frontend Developer
#20

Build Booking Page (Passenger)

To Do

As a Passenger, I want to add services to my booking from the Booking page so that I can customize my trip with luggage, meals, and seat upgrades before checkout. Implement the Booking page (v1) based on the existing JSX design. Includes passenger details form, seat map, add-on service selector (luggage, meals, extras), and order summary. Navigates to Checkout. Reference: Booking (v1) design page.

Depends on:#19
Waiting for dependencies
AI 88%
Human 12%
High Priority
2 days
AI Credits:8
Frontend Developer
#5

Build Flight Planning Page

To Do

As an Airline Admin, I want to manage flight schedules from the Flight Planning page so that I can plan and update routes, sectors, and aircraft assignments. Implement the Flight Planning page (v1) based on the existing JSX design. Includes flight schedule table, route management, airport profiles, and aircraft profile linking. Navigates to Crew Rostering. Reference: Flight Planning (v1) design page.

Depends on:#4
Waiting for dependencies
AI 88%
Human 12%
High Priority
2 days
AI Credits:7
Frontend Developer
#13

Build Wallet Page

To Do

As an Agent, I want to track my wallet credits from the Wallet page so that I can monitor available credits, transaction history, and top-up options. Implement the Wallet page (v1) based on the existing JSX design. Includes credit balance display, transaction history table, top-up CTA, and commission tracking. Reached from Agent Portal. Reference: Wallet (v1) design page.

Depends on:#9
Waiting for dependencies
AI 88%
Human 12%
Medium Priority
1 day
AI Credits:6
Frontend Developer
#24

Build Pricing Engine Page

To Do

As a Revenue Manager, I want to configure pricing rules and bundles from the Pricing Engine page so that I can implement dynamic pricing strategies across flights. Implement the Pricing Engine page (v1) based on the existing JSX design. Includes rule builder UI (fare tiers, conditions, modifiers), bundle configurator, fees & taxes setup, and preview panel. Navigates to Set Bundles sub-section. Reference: Pricing Engine (v1) design page.

Depends on:#23
Waiting for dependencies
AI 88%
Human 12%
High Priority
2 days
AI Credits:8
Frontend Developer
#15

Build Check-In Page

To Do

As a Ground Handler, I want to process passenger check-ins from the Check-In page so that I can verify passenger details, assign seats, and issue boarding passes. Implement the Check-In page (v1) based on the existing JSX design. Includes passenger lookup, seat assignment, baggage drop inputs, and boarding pass generation. Navigates to Boarding. Reference: Check-In (v1) design page.

Depends on:#14
Waiting for dependencies
AI 88%
Human 12%
High Priority
2 days
AI Credits:7
Frontend Developer
#10

Build Flight Search Page

To Do

As an Agent, I want to search for flights from the Flight Search page so that I can find and select flights to book on behalf of customers. Implement the Flight Search page (v1) based on the existing JSX design. Includes origin/destination pickers, date selectors, passenger count, and cabin class. Navigates to Booking. Reference: Flight Search (v1) design page.

Depends on:#9
Waiting for dependencies
AI 88%
Human 12%
High Priority
1.5 days
AI Credits:7
Frontend Developer
#25

Build Reports Page

To Do

As a Revenue Manager, I want to analyze revenue data from the Reports page so that I can generate and export reports on bookings, revenue, and operational performance. Implement the Reports page (v1) based on the existing JSX design. Includes report type selector, date range filter, data table with export (CSV/PDF), and chart visualizations. Navigates to Promotions. Reference: Reports (v1) design page.

Depends on:#23
Waiting for dependencies
AI 88%
Human 12%
Medium Priority
1.5 days
AI Credits:7
Frontend Developer
#7

Build System Settings Page

To Do

As an Airline Admin, I want to configure platform settings from the System Settings page so that I can manage regions, currencies, languages, and global configurations. Implement the System Settings page (v1) based on the existing JSX design. Includes tabbed sections for region/city/country management, currency system, language system, and global config. Navigates to User Management. Reference: System Settings (v1) design page.

Depends on:#4
Waiting for dependencies
AI 88%
Human 12%
Medium Priority
1.5 days
AI Credits:6
Frontend Developer
#18

Build Cargo Boarding Page

To Do

As a Ground Handler, I want to load and track cargo from the Cargo Boarding page so that I can ensure correct cargo allocation and loading for each flight. Implement the Cargo Boarding page (v1) based on the existing JSX design. Includes cargo manifest list, weight/volume allocation controls, cargo status badges, and loading confirmation. Reached from DCS Dashboard. Reference: Cargo Boarding (v1) design page.

Depends on:#14
Waiting for dependencies
AI 88%
Human 12%
High Priority
1.5 days
AI Credits:7
Frontend Developer
#11

Build Booking Page (Agent)

To Do

As an Agent, I want to book a flight for a customer from the Booking page so that I can complete the booking lifecycle on their behalf. Implement the Booking page (v1) based on the existing JSX design. Includes passenger details form, seat selection, add-on services (luggage, meals), pricing summary, and confirm booking CTA. Navigates to Customer Profiles. Reference: Booking (v1) design page.

Depends on:#10
Waiting for dependencies
AI 88%
Human 12%
High Priority
2 days
AI Credits:8
Frontend Developer
#37

Implement System Settings API

To Do

As a backend developer, I want to implement system configuration APIs so that admins can manage regions, cities, countries, currencies, and languages globally. Endpoints: GET/POST/PUT /settings/regions, /settings/currencies, /settings/languages, /settings/global. Includes validation and cache invalidation.

Depends on:#7
Waiting for dependencies
AI 75%
Human 25%
Medium Priority
2 days
AI Credits:6
Backend Developer
#26

Build Promotions Page

To Do

As a Revenue Manager, I want to manage marketing campaigns from the Promotions page so that I can create, activate, and track promo codes and campaigns. Implement the Promotions page (v1) based on the existing JSX design. Includes campaign list, promo code builder, campaign performance metrics, and activate/deactivate controls. Reached from Reports. Reference: Promotions (v1) design page.

Depends on:#25
Waiting for dependencies
AI 88%
Human 12%
Medium Priority
1.5 days
AI Credits:6
Frontend Developer
#16

Build Boarding Page

To Do

As a Ground Handler, I want to validate passenger boarding from the Boarding page so that I can ensure only authorized passengers board the aircraft. Implement the Boarding page (v1) based on the existing JSX design. Includes QR-code boarding validation, passenger manifest list, boarding status tracker, and gate closure controls. Navigates to Baggage. Reference: Boarding (v1) design page.

Depends on:#15
Waiting for dependencies
AI 88%
Human 12%
High Priority
1.5 days
AI Credits:7
Frontend Developer
#29

Implement Booking & Inventory API

To Do

As a backend developer, I want to implement booking lifecycle APIs so that passengers and agents can search, hold, confirm, cancel, and refund flight bookings. Endpoints: POST /bookings, PUT /bookings/{id}/confirm, PUT /bookings/{id}/cancel, POST /bookings/{id}/refund, GET /inventory/{flight_id}. Includes seat inventory management and concurrency control.

Depends on:#20
Waiting for dependencies
AI 75%
Human 25%
High Priority
3 days
AI Credits:9
Backend Developer
#21

Build Checkout Page

To Do

As a Passenger, I want to confirm and pay for my booking from the Checkout page so that I can complete my purchase securely. Implement the Checkout page (v1) based on the existing JSX design. Includes order summary, passenger details review, payment gateway selector, promo code input, and booking confirmation CTA. Navigates to My Bookings. Reference: Checkout (v1) design page.

Depends on:#20
Waiting for dependencies
AI 88%
Human 12%
High Priority
1.5 days
AI Credits:7
Frontend Developer
#27

Implement Flight Planning API

To Do

As a backend developer, I want to implement REST APIs for flight planning so that the frontend can manage flight schedules, airport profiles, aircraft profiles, sectors, and route data. Endpoints: GET/POST/PUT/DELETE /flights, /airports, /aircraft, /sectors. Includes pagination, filtering, and validation.

Depends on:#5
Waiting for dependencies
AI 75%
Human 25%
High Priority
3 days
AI Credits:8
Backend Developer
#6

Build Crew Rostering Page

To Do

As an Airline Admin, I want to assign crew to flights from the Crew Rostering page so that I can manage crew schedules and availability. Implement the Crew Rostering page (v1) based on the existing JSX design. Includes crew profiles list, flight assignment workflows, availability calendar, and role definitions. Reached from Flight Planning. Reference: Crew Rostering (v1) design page.

Depends on:#5
Waiting for dependencies
AI 88%
Human 12%
High Priority
2 days
AI Credits:7
Frontend Developer
#8

Build User Management Page

To Do

As an Airline Admin, I want to manage user roles from the User Management page so that I can assign, create, and update roles and permissions for all platform users. Implement the User Management page (v1) based on the existing JSX design. Includes user list, role assignment, permission engine controls, and audit log access. Reached from System Settings. Reference: User Management (v1) design page.

Depends on:#7
Waiting for dependencies
AI 88%
Human 12%
Medium Priority
1.5 days
AI Credits:6
Frontend Developer
#30

Implement Pricing Engine API

To Do

As a backend developer, I want to implement dynamic pricing APIs so that revenue managers can configure rules and the system applies them in real-time during booking. Endpoints: GET/POST/PUT /pricing-rules, /bundles, /fees-taxes. Includes rule evaluation engine, tier management, and pricing preview.

Depends on:#24
Waiting for dependencies
AI 72%
Human 28%
High Priority
3 days
AI Credits:9
Backend Developer
#28

Implement Crew Rostering API

To Do

As a backend developer, I want to implement REST APIs for crew rostering so that crew profiles, availability, and flight assignments can be managed. Endpoints: GET/POST/PUT /crew, /crew-assignments, /crew-availability. Includes conflict detection and scheduling validation.

Depends on:#6
Waiting for dependencies
AI 75%
Human 25%
High Priority
2.5 days
AI Credits:7
Backend Developer
#33

Implement Revenue & Reports API

To Do

As a backend developer, I want to implement revenue reporting APIs so that revenue managers can query performance data, generate reports, and manage promotions. Endpoints: GET /revenue/summary, GET /reports, POST /promotions, PUT /promotions/{id}/activate. Includes CSV/PDF export capability.

Depends on:#25#26
Waiting for dependencies
AI 75%
Human 25%
Medium Priority
2.5 days
AI Credits:7
Backend Developer
#22

Build My Bookings Page

To Do

As a Passenger, I want to manage my bookings from the My Bookings page so that I can view booking details, make changes, and initiate cancellations or refunds. Implement the My Bookings page (v1) based on the existing JSX design. Includes booking list with status filters, booking detail view, modify/cancel/refund actions, and e-ticket download. Reached from Checkout and supports Cancel/Refund flow. Reference: My Bookings (v1) design page.

Depends on:#21
Waiting for dependencies
AI 88%
Human 12%
High Priority
1.5 days
AI Credits:7
Frontend Developer
#36

Implement Payment Gateway Integration

To Do

As a backend developer, I want to integrate multi-gateway payment processing so that passengers can pay for bookings using regional payment providers with refund and reconciliation support. Includes gateway routing logic, webhook handlers for payment status, and reconciliation reports.

Depends on:#29
Waiting for dependencies
AI 70%
Human 30%
High Priority
2.5 days
AI Credits:8
Backend Developer
#34

Implement RBAC & User Management API

To Do

As a backend developer, I want to implement role-based access control APIs so that admins can manage users, assign roles, configure permissions, and audit actions. Endpoints: GET/POST/PUT/DELETE /users, /roles, /permissions, GET /audit-logs. Includes JWT role claims and permission middleware.

Depends on:#8
Waiting for dependencies
AI 72%
Human 28%
High Priority
2.5 days
AI Credits:8
Backend Developer
#12

Build Customer Profiles Page

To Do

As an Agent, I want to manage customer profiles from the Customer Profiles page so that I can view, update, and track bookings tied to each customer. Implement the Customer Profiles page (v1) based on the existing JSX design. Includes customer list, profile detail view, booking history, and contact info. Reached from Booking. Reference: Customer Profiles (v1) design page.

Depends on:#11
Waiting for dependencies
AI 88%
Human 12%
High Priority
1.5 days
AI Credits:6
Frontend Developer
#17

Build Baggage Page

To Do

As a Ground Handler, I want to manage baggage operations from the Baggage page so that I can track, claim, escalate, and resolve baggage items per flight. Implement the Baggage page (v1) based on the existing JSX design. Includes baggage list with status filters, tracking timeline, baggage detail panel, action buttons (Mark Claimed, Escalate, Print Label), and alerts. Reached from Boarding. Reference: Baggage (v1) design page.

Depends on:#16
Waiting for dependencies
AI 88%
Human 12%
High Priority
2 days
AI Credits:7
Frontend Developer
#35

Implement AI Assistant Integration

To Do

As an AI Engineer, I want to integrate LangChain and LiteLLM routing into the platform's AI assistant so that users get contextual, role-aware responses using GPT for general queries and Claude for technical/academic queries. Includes LLM routing logic, session context management, and booking data mapping for contextual recommendations.

Depends on:#29#34
Waiting for dependencies
AI 70%
Human 30%
Medium Priority
3 days
AI Credits:9
AI Engineer
#32

Implement Agent & Wallet API

To Do

As a backend developer, I want to implement agent portal and wallet APIs so that agents can manage credits, commissions, bookings, and customer profiles. Endpoints: GET/PUT /agent/wallet, POST /agent/wallet/topup, GET/POST /agent/customers, GET /agent/bookings. Includes credit deduction on booking and transaction history.

Depends on:#12#13
Waiting for dependencies
AI 75%
Human 25%
High Priority
2.5 days
AI Credits:7
Backend Developer
#31

Implement DCS & Baggage API

To Do

As a backend developer, I want to implement DCS APIs for check-in, boarding, baggage, and cargo so that ground handlers can process airport operations in real-time. Endpoints: POST /checkin, POST /boarding/validate, GET/PUT /baggage, GET/POST /cargo-manifest. Includes QR code generation and validation.

Depends on:#17#18
Waiting for dependencies
AI 75%
Human 25%
High Priority
3 days
AI Credits:8
Backend Developer
Home design preview
Login: Sign In
Agent Portal: View Dashboard
Flight Search: Find Flights
Booking: Book for Customer
Customer Profiles: Manage Profile
Wallet: Track Credits