khadem 1.2.0-beta copy "khadem: ^1.2.0-beta" to clipboard
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 Framework
Status Version Dart License

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 #

  1. Check the README - Most common questions are answered here
  2. Browse existing issues - Your question might already be answered
  3. Create a new issue - For bugs, include code examples and error messages
  4. 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"


2
likes
150
points
141
downloads

Publisher

unverified uploader

Weekly Downloads

A modern Dart backend framework with CLI tools, ORM, authentication, and caching for scalable web applications.

Repository (GitHub)
View/report issues
Contributing

Topics

#web-framework #backend #server #api #database

Documentation

Documentation
API reference

License

Apache-2.0 (license)

Dependencies

archive, args, crypto, dart_jsonwebtoken, glob, http, intl, mime, mysql1, package_config, path, recase, redis, timezone, uuid, vm_service, watcher, yaml, yaml_edit

More

Packages that depend on khadem