Open Source

⚙️ AppGen-X

AppGen-X compiles a compact declarative spec into a complete, production-ready business application — Flask-AppBuilder backend, GraphQL API, React frontend, and 18+ ERP starter modules — all from a single DSL, DBML schema, SQL DDL, or natural language description.

AppGen-X illustration

Key Features

One spec, five targets — from DBML or plain English to a fully deployable business application in minutes.

📄

Multi-Format Input

Feed AppGen-X a custom DSL (YAML-based), DBML database markup, SQL DDL, an OpenAPI spec, or a plain-English description of your application. The compiler infers relationships, validates the model, and produces a normalized internal IR before code generation.

🐍

Flask-AppBuilder Backend

Generates a fully-functional Flask-AppBuilder application with SQLAlchemy models, Alembic migrations, REST API views, and role-based security. Model relationships — 1:1, 1:N, M:N — inferred and generated correctly. Ready to run with flask run.

🔗

GraphQL API

Generates a Strawberry-Python GraphQL schema with resolvers, dataloaders (N+1 elimination), and subscriptions for real-time models. Full CRUD mutations generated. Introspection disabled in production builds for security. Apollo Studio compatible.

🗂️

18+ ERP Starter Modules

Pre-built modules: General Ledger, Accounts Payable/Receivable, Payroll (Kenya/Uganda/Tanzania), Inventory, Procurement, CRM, HRM, Fixed Assets, Projects, and more. Each module is a standalone AppGen-X package — compose only what you need.

🎯

Multi-Target Output

One spec, five targets: Web (Flask + React), PWA (offline-capable), Mobile (Flutter), Desktop (Electron + Tauri), and Chatbot (Telegram / WhatsApp Business via Africa's Talking). All targets stay in sync when the spec changes.

🔧

Plugin Architecture

Community plugins extend AppGen-X with new output targets, custom field types, validation rules, and integration connectors. Plugin registry at packages.appgen.dev. Write plugins in Python — published as standard PyPI packages.

Technical Specifications

Installation

  • pip install appgen
  • Python 3.11+ required
  • MIT License
  • GitHub: datacraft-ke/appgen-x

Output Stack

  • Flask-AppBuilder + SQLAlchemy + Alembic
  • Strawberry-Python GraphQL
  • React + Vite frontend
  • Flutter mobile / Tauri desktop

ERP Modules

  • GL, AP, AR, Payroll, Inventory, Procurement
  • CRM, HRM, Fixed Assets, Projects, POS
  • Kenya / Uganda / Tanzania payroll rules

Community

  • Apache-2.0 licensed
  • 500+ GitHub stars
  • Plugin registry: packages.appgen.dev
  • Monthly community call (Discord)

Star AppGen-X on GitHub

Contact our team to discuss your requirements. We respond within 24 hours.