# Developer Platform

<figure><img src="/files/A5O6OtqDkIGUA3LHsop3" alt="" width="344"><figcaption></figcaption></figure>

<h3 align="center"><strong>Slush</strong> is a lightweight Python web framework designed for clarity, extensibility, and performance.</h3>

{% code overflow="wrap" %}

```python
from slush.app import Slush

app = Slush()

@app.route("/hello")
def hello(request):
    return {"message": "Hello from Slush"}
```

{% endcode %}

###

<table data-view="cards"><thead><tr><th></th><th></th><th></th><th data-hidden data-card-target data-type="content-ref"></th><th data-hidden data-card-cover data-type="image">Cover image</th></tr></thead><tbody><tr><td><h4><i class="fa-leaf">:leaf:</i></h4></td><td><strong>Documentation</strong></td><td>Get started with the framework</td><td><a href="/spaces/f70M4cFyYP0KxDlNGBmy">/spaces/f70M4cFyYP0KxDlNGBmy</a></td><td><a href="/files/VDjRWwkR9fEWhZVecs9h">/files/VDjRWwkR9fEWhZVecs9h</a></td></tr><tr><td><h4><i class="fa-github">:github:</i></h4></td><td><strong>Github</strong></td><td>Head to our GitHub repository to submit PR.</td><td><a href="https://github.com/farazkhanfk7/slush">https://github.com/farazkhanfk7/slush</a></td><td><a href="/files/glygQHCrLMdwoLY0XLfe">/files/glygQHCrLMdwoLY0XLfe</a></td></tr></tbody></table>

###

***

{% columns %}
{% column %}

### Get started in 5 minutes

Setting up your first API call should be the easiest part of getting started. With clear endpoints, copy-paste-ready examples, and quick authentication, you’ll be up and running in minutes, not hours.

No guesswork, no complexity, just your first successful call, fast.

<a href="/spaces/f70M4cFyYP0KxDlNGBmy/pages/LThc2RqOxBKU56Qt3TMy" class="button primary" data-icon="rocket-launch">Get started</a> <a href="/spaces/f70M4cFyYP0KxDlNGBmy/pages/aOjs4gC5WzIpifbjuGsn" class="button secondary" data-icon="terminal">Documentation</a>
{% endcolumn %}

{% column %}
{% code title="users.py" overflow="wrap" %}

```python
from pydantic import BaseModel
from slush.core.response import Response
from slush.core.routing import Router

class UserCreate(BaseModel):
    name: str
    age: int

user_router = Router()

```

{% endcode %}
{% endcolumn %}
{% endcolumns %}

***

{% stepper %}
{% step %}

### Install Slush

{% code overflow="wrap" %}

```bash
$ pip install slush
```

{% endcode %}
{% endstep %}

{% step %}

### Run your project

{% code overflow="wrap" %}

```bash
$ slush runserver main:app
```

{% endcode %}
{% endstep %}
{% endstepper %}

<h2 align="center">Join Us in Building Slush Together</h2>

{% columns %}
{% column %}
Slush is built with collaboration at its core. We welcome contributions from developers, designers, and creators who want to improve the project and build something meaningful together.
{% endcolumn %}

{% column %}

<p align="center">To get started, simply fork the repository, make your changes, and open a pull request. Whether it’s fixing bugs, improving documentation, or adding new features — every contribution counts.</p>
{% endcolumn %}
{% endcolumns %}

<p align="center"></p>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://slush.gitbook.io/docs/readme.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
