Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/igorgue/fire

Fire is a web framework written in Mojo (🔥) with some Python (🐍) magic (✨)
https://github.com/igorgue/fire

Last synced: about 2 months ago
JSON representation

Fire is a web framework written in Mojo (🔥) with some Python (🐍) magic (✨)

Awesome Lists containing this project

README

        

# fire 🔥

A web framework written in Mojo.

**NOTE**: This is a work in progress. It is not ready for production use.

## example

```python
from fire import Request, Response, app, route as r

fn index(request: Request) -> Response:
# TODO: add response attributes
return Response()

fn posts(request: Request) -> Response:
return Response()

fn main():
r["/"](index)
r["/posts"](posts)

app.run()
```