# Archery - [Archery Documentation](https://docs.webarchery.dev/index.md): Build structured server-side Dart applications with Archery’s explicit application lifecycle, routing, middleware, templates, authentication, and multi-driver ORM. - [Install Archery from GitHub](https://docs.webarchery.dev/getting-started/installation.md): Clone the Archery repository, install its Dart dependencies, run the test suite, and start the bundled example application. - [Run Your First Archery Server](https://docs.webarchery.dev/getting-started/quickstart.md): Boot an Archery application, register a route, and serve HTTP requests through the framework kernel. - [Organize an Archery Application](https://docs.webarchery.dev/getting-started/project-structure.md): Understand Archery’s conventional directories and decide where configuration, routes, providers, models, templates, and public assets belong. - [How Archery Applications Work](https://docs.webarchery.dev/getting-started/architecture.md): Understand Archery’s application startup, service lifecycle, and HTTP request pipeline. - [Build a Small Archery Application](https://docs.webarchery.dev/getting-started/build-an-app.md): Extend the quickstart into a runnable JSON message API with request parsing, typed route parameters, validation, and HTTP status codes. - [Deploy an Archery Application](https://docs.webarchery.dev/getting-started/deployment.md): Compile and operate an Archery application behind HTTPS with environment secrets, systemd, NGINX, health checks, and graceful shutdown. - [Define Typed Routes, Groups, and HTTP Methods Clearly](https://docs.webarchery.dev/http/routing.md): Register five HTTP methods, compose route groups, read typed path values, attach middleware, and understand Archery's matching priority. - [Handle Forms, Uploads, and HTTP Responses with Dart](https://docs.webarchery.dev/http/requests-responses.md): Read query, JSON, URL-encoded, and multipart input; access uploaded files; then return JSON, text, views, redirects, or framework errors. - [Compose Global and Route Middleware Pipelines Safely](https://docs.webarchery.dev/http/middleware.md): Create Archery HTTP middleware, order global and route-specific layers, continue with next, and apply built-in session, CSRF, CORS, and auth guards. - [Render Blade-Style Views and Serve Static Web Assets](https://docs.webarchery.dev/http/views-static-files.md): Render escaped template data, use layouts, sections, includes, loops, conditions, and CSRF fields, then serve cached public assets securely. - [Resolve Application Services with the IoC Container](https://docs.webarchery.dev/core/container.md): Bind transient, singleton, eager, named, and existing services; resolve them safely, create child scopes, and register asynchronous cleanup callbacks. - [Register and Boot Services with Provider Lifecycles](https://docs.webarchery.dev/core/service-providers.md): Organize application startup into providers, bind services during registration, perform asynchronous boot work, group providers, and handle shutdown. - [Load and Override JSON Application Configuration Files](https://docs.webarchery.dev/core/configuration.md): Load JSON configuration files into AppConfig, read nested values with dotted keys, set runtime overrides, inspect copies, and reload from disk safely. - [Create, Query, Update, and Relate Archery Data Models](https://docs.webarchery.dev/data/orm.md): Define model serialization and constructors, run CRUD queries across disks, use instance operations, and express direct and pivot relationships. - [Choose and Configure All Four Archery Storage Drivers](https://docs.webarchery.dev/data/database-drivers.md): Compare JSON files, SQLite, Postgres, and S3 storage; register migrations and required services; then select a DatabaseDisk for each model operation. - [Authenticate Users with Secure Session-Based Login](https://docs.webarchery.dev/security/authentication.md): Register built-in auth routes, hash and verify passwords with PBKDF2, log users in and out, resolve the current user, and guard endpoints. - [Protect Stateful Forms with Sessions and CSRF Tokens](https://docs.webarchery.dev/security/sessions-csrf.md): Initialize guest sessions, store flash data, bind CSRF tokens to sessions, render hidden form fields, and validate state-changing browser requests. This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.