khadem 1.2.0-beta
khadem: ^1.2.0-beta copied to clipboard
A modern Dart backend framework with CLI tools, ORM, authentication, and caching for scalable web applications.
Khadem #
β‘ A powerful, modern Dart backend framework for building scalable web applications
Khadem is a comprehensive backend framework built with Dart, designed for developers who demand performance, elegance, and full control. It provides a complete toolkit for building robust web applications with features like dependency injection, modular architecture, built-in CLI tools with automatic command discovery, database management, caching, authentication, and production-ready deployment capabilities.
π Key Features #
Core Architecture #
- π High Performance: Built with Dart for exceptional speed and efficiency
- π§± Modular Design: Service provider architecture for clean, maintainable code
- π¦ Dependency Injection: Flexible container-based dependency management
- βοΈ Configuration System: Environment-aware configuration with dot-notation support
Development Tools #
- π οΈ Powerful CLI: Comprehensive command-line tools with auto-discovery
- π€ Code Generation: Automated generation of models, controllers, middleware, providers, jobs, and listeners
- π₯ Hot Reload: Development server with hot reload support
- π Migration System: Database migration and seeding support
Data & Storage #
- ποΈ Database Layer: Support for MySQL with ORM capabilities
- πΎ Multiple Drivers: MySQL, Redis, and extensible driver system
- π§΅ Queue System: Background job processing with Redis support
- π File Storage: Flexible file upload and storage management
Security & Auth #
- π JWT Authentication: Secure token-based authentication system
- π‘οΈ Middleware System: Request/response middleware for security and processing
- β Input Validation: Comprehensive validation rules and error handling
- π Security Features: Built-in protection against common web vulnerabilities
Production Ready #
- π Caching: Multiple caching drivers (Redis, memory-based)
- β° Task Scheduling: Background job scheduling and processing
- π Logging: Structured logging with multiple output formats
π¦ Installation #
Install Khadem CLI globally for project management:
dart pub global activate khadem
Requirements #
- Dart SDK: >=3.0.0
- Supported Platforms: Windows, macOS, Linux
- Database: MySQL (optional)
- Cache: Redis (optional)
β‘ Quick Start #
Get started with Khadem in minutes:
1. Create New Project Structure #
# Create new project from GitHub template
khadem new --name=my_app
cd my_app
dart pub get
2. Start Development Server #
# Run your Khadem application
dart run lib/main.dart
# Or for development with hot reload:
khadem serve
Your application will be running at http://localhost:3000 with hot reload enabled!
οΏ½π Support & Community #
- π Bug Reports: GitHub Issues
- π‘ Feature Requests: GitHub Discussions
- π¬ Community: Join our growing community of Dart backend developers
Getting Help #
- Check the README - Most common questions are answered here
- Browse existing issues - Your question might already be answered
- Create a new issue - For bugs, include code examples and error messages
- Start a discussion - For feature requests and general questions
Built with β€οΈ for the Dart community by Khedr Mahmoud
"Empowering developers to build powerful backend applications with the elegance and performance of Dart"