diff --git a/README.md b/README.md index fe154b5..282fa41 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,18 @@ # SlowAPI -A barely working HTTP server \ No newline at end of file +A barely working HTTP server + +```py +from slow import App, render + +app = App() + +@app.GET("/") +def home(request): + return render("index.html") + +import asyncio +if __name__ == "__main__": + asyncio.run(app.run(host="localhost", port=8080)) + +``` \ No newline at end of file