archery 0.1.0
archery: ^0.1.0 copied to clipboard
A full-stack web development framework for Dart lang.
Archery Web Framework #
Archery is a modern web framework for Dart, focused on clarity, performance, and developer flow.
It reimagines the foundations of backend development with a modular, Laravel-inspired architecture built entirely in Dart.
Goal: make backend programming in Dart as expressive and productive as Laravel or AdonisJS, with a compiler-level edge.
Core Philosophy #
- Predictable: explicit, type-safe architecture β no hidden magic.
- Minimal: clean syntax, zero unnecessary abstractions.
- Composable: small, testable primitives forming a cohesive system.
- Fast: built directly on top of
dart:iofor native performance.
π§± Core Modules #
| Module | Purpose |
|---|---|
core |
IoC container, providers, config repository |
http |
Routing, middleware, responses, request handling |
support |
Small utilities used across modules |
π Getting Started #
1. Install #
git clone https://github.com/webarchery/archery.git
cd archery
2. Quick Start #
import 'package:archery/archery.dart';
void main() {
final app = App();
app.boot();
}
Philosophy in Practice #
Archeryβs architecture mirrors real-world application design:
| Concept | Dart Equivalent | Example |
|---|---|---|
| Service Container | ServiceContainer |
Dependency resolution |
| Provider | Provider |
Register and boot services |
| Config Loader | ConfigRepository |
Read nested configs easily |
| Router | Router |
Define HTTP routes with middleware |
Running Tests #
dart test
Roadmap #
- β Service Container
- β Provider Lifecycle
- β Config Repository
- β Router & Middleware
- β HTTP Kernel
- β Template Engine
- β CLI Tooling (
archery new app) - β ORM
License #
MIT Β© 2025 WebArchery