Skip to content

Getting Started

Welcome to REROUTE!


Here's where you'll learn how to get started with REROUTE and build your first file-based routed API.

This tutorial will guide you through installation, your first route, and core concepts step by step.

What is REROUTE?

REROUTE is a modern routing framework that brings Next.js-style file-based routing to Python web frameworks. Instead of manually registering routes, you organize them in folders and files - REROUTE handles the rest.

Prerequisites

  • Python 3.8 or higher
  • FastAPI framework
  • Basic understanding of REST APIs

Installation Options

pip install reroute[fastapi]

This includes REROUTE with FastAPI support.

Using uv (Faster)

uv pip install reroute[fastapi]

uv is an ultra-fast Python package installer.

From Source

git clone https://github.com/cbsajan/reroute.git
cd reroute
pip install -e .

Next Steps

  • Quick Start


    Build your first REROUTE app in 5 minutes.

    Quick Start

  • First Route


    Create your first file-based route.

    First Route