okapi
fastapi-realworld-example-app
okapi | fastapi-realworld-example-app | |
---|---|---|
4 | 2 | |
103 | 2,088 | |
1.9% | - | |
8.7 | 5.5 | |
4 months ago | over 1 year ago | |
Haskell | Python | |
BSD 3-clause "New" or "Revised" License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
okapi
-
Okapi: From Monad to Applicative
TL;DR - Okapi, a web framework that I started working on last year, now uses an Applicative instead of a Monad. This has made the framework a lot more consistent and easier to understand. It also makes it possible to automatically generate OpenAPI specifications from your endpoint definitions. It should be possible to generate clients as well, but I haven't worked on this yet. You can learn more at the new documentation website: https://okapi.wiki/. Would you use Okapi? What do you think? I'd love to hear it.
-
New server-side framework based on monadic parsing
Me showing off Okapi (hopefully): Okapi is simple. A functor can do this, applicative can do this, a monad can do this. Learn this small set of functions. Sequence them with do. Branch them with <|>. You need to learn the structure of an HTTP request, but that's good because you need to know that anyway if you want to develop Web apps. Here's the documentation. Look at how simple and compact this is compared to this.
fastapi-realworld-example-app
-
Best places/ways to learn APIs for career progression?
I'd also recommend checking out various "real world" repositories. E.g. one for FastAPI is here It comes with perfectly reasonable API.
-
New server-side framework based on monadic parsing
Me showing off Okapi (hopefully): Okapi is simple. A functor can do this, applicative can do this, a monad can do this. Learn this small set of functions. Sequence them with do. Branch them with <|>. You need to learn the structure of an HTTP request, but that's good because you need to know that anyway if you want to develop Web apps. Here's the documentation. Look at how simple and compact this is compared to this.
What are some alternatives?
nested-routes - Declarative, Compositional Url Handling for WAI
realworld - "The mother of all demo apps" β Exemplary fullstack Medium.com clone powered by React, Angular, Node, Django, and many more
wai-middleware-content-type - Route to different middlewares based on the incoming Accept header detected.
yt-dlp-bot - Self-hosted Video Download Telegram Bot πΊπ¦
obelisk - Functional reactive web and mobile applications, with batteries included.
hass-weatherflow2mqtt - WeatherFlow to MQTT for Home Assistant. Use UDP to get local weather data in to Home Assistant using MQTT Discovery
Suave.IO - Suave is a simple web development F# library providing a lightweight web server and a set of combinators to manipulate route flow and task composition.
uvicorn-gunicorn-fastapi-docker - Docker image with Uvicorn managed by Gunicorn for high-performance FastAPI web applications in Python with performance auto-tuning.
telegram-bot-template - π€ Template for telegram bot using postgres, pgbouncer, redis, docker, amplitude, prometheus, grafana, CI
full-stack-fastapi-template - Full stack, modern web application template. Using FastAPI, React, SQLModel, PostgreSQL, Docker, GitHub Actions, automatic HTTPS and more.
django-mini-fastapi - A minimal FastAPI implementation for Django !