🚀Basic usage

Instructions to create a basic app.

Creating a basic expross application

To start creating a basic expross app, you will need to create a new python file

$ expross new my-app
$ cd my-app

# Not necesary
$ python3 -m venv venv
$ source venv/bin/activate

You can also simply make a python file with the following content

This is an example application

app.py

from expross import Expross

app = Expross()

def main():
    return "<h1>Hello!</h1>"
    
app.get("/", main)
app.start()

Last updated