Guides¶
Comprehensive guides to master REROUTE's features.
Core Concepts¶
-
File-based Routing
Learn how folder structure maps to API routes.
-
Class-based Routes
Build routes using Python classes.
-
Decorators
Rate limiting, caching, validation, and more.
-
Lifecycle Hooks
Control request/response flow.
Configuration¶
-
Configuration
Customize REROUTE's behavior.
-
CORS Setup
Configure cross-origin requests.
-
Security
Security headers and best practices.
-
Troubleshooting
Common issues and solutions.
Topics¶
| Guide | Description |
|---|---|
| File-based Routing | Organize routes by filesystem |
| Class-based Routes | HTTP methods as class methods |
| Decorators | Built-in and custom decorators |
| Lifecycle Hooks | before_request, after_request, on_error |
| Configuration | Custom configuration options |
| CORS Setup | Enable and configure CORS |
| Security | Security headers and best practices |
| Error Handling | Handle errors gracefully |
| Testing | Test your REROUTE applications |
| Troubleshooting | Common issues and solutions |
What's Next?¶
After reading the guides, check out:
- Adapters - Framework-specific integration
- Examples - Real-world patterns
- API Reference - Complete API documentation