Skip to content

Guides

Comprehensive guides to master REROUTE's features.

Core Concepts

  • File-based Routing


    Learn how folder structure maps to API routes.

    File Routing

  • Class-based Routes


    Build routes using Python classes.

    Class Routes

  • Decorators


    Rate limiting, caching, validation, and more.

    Decorators

  • Lifecycle Hooks


    Control request/response flow.

    Lifecycle Hooks

Configuration

  • Configuration


    Customize REROUTE's behavior.

    Configuration

  • CORS Setup


    Configure cross-origin requests.

    CORS

  • Security


    Security headers and best practices.

    Security

  • Troubleshooting


    Common issues and solutions.

    Troubleshooting

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: