orval
litestar
orval | litestar | |
---|---|---|
20 | 27 | |
2,278 | 4,453 | |
- | 3.1% | |
9.6 | 9.8 | |
7 days ago | 6 days ago | |
TypeScript | Python | |
MIT 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.
orval
-
HonoJS: Small, simple, and ultrafast web framework for the Edges
In cases where the client needs to stay separate, we have had a good experience with Orval[1] to generate a fully-typed @tanstack/query client from our OpenAPI spec.
[1] https://orval.dev/
-
Litestar – powerful, flexible, and highly performant Python ASGI framework
- Vite/React/Tailwind for the frontend, with [Orval](https://orval.dev/) to generate FE definitions based on the API spec.
For non-API/SPA use-cases, it also has good HTML support, with built-in Jinja and HTMX integrations. The docs are great (https://docs.litestar.dev/latest/ - not quite Django-tier but that's the gold standard), however the reference application is a tad too complex imo (https://github.com/litestar-org/litestar-fullstack).
https://github.com/litestar-org/awesome-litestar has a list of useful extensions - highly recommend trying it out if you are starting a new Python web project.
-
How to Automatically Consume RESTful APIs in Your Frontend
In order to generate the API client, there are a few options available, but we are going to use (Orval)[https://orval.dev]. Orval is a CLI tool that generates API clients based on an OpenAPI specification. It supports TypeScript, JavaScript, Axios, React, Vue, Angular and Svelte and it's highly customizable.
-
Getting the most out of vscode
I would use "reveal": "never" if I don't care about the results of the command, for example, I generate swagger types using orval.dev on every folder open, but I want this to run in background as it's not that important, so I use "reveal": "never" for it.
-
Mock Service Worker(msw) releases 2.0
we started using (and now contributing to) https://orval.dev/ this year which both generates the mocks using MSW as well as the client-side networking code (React Query in our case). It removes so much boilerplate its amazing.
wrote up the basics of our workflow few weeks ago https://betaacid.co/blog/api-contracts
-
Ask HN: Why isn't JSON-RPC more widely adopted?
Personally, find gRPC-Web very attractive but the current state of TypeScript/JS code-gen is very confusing and lacking.
I would love something like https://orval.dev for gRPC-web. Have I missed something or is it just early to expect it?
I tried a few libraries but couldn't get them to work or would generate unappealing results. I believe I'm hitting this issue with my local experiments. https://github.com/grpc/grpc-web/issues/535
-
I made a framework to build fully-typed RESTful server and client with zero dependency
This is a Library I've used in the past, https://github.com/anymaniax/orval
-
Best / Modern Test Stack for a new big Next.js project
If you have OpenAPI specs to work with you could also use Orval (https://orval.dev/) to generate a lot of code. We’re just starting to evaluate it at work but so far the team that’s trialing it is liking it.
-
React & REST APIs: End-To-End TypeScript Based On OpenAPI Docs
On the frontend we can use the OpenAPI docs to generate the TS types for our data structures. Not only types but fetch functions as well as react-query hook can be generated as well. And in this blog post you can see how to do that with a library called Orval.
-
React & REST APIs: End-To-End TypeScript Based On OpenAPI Docs
On this page, we’ll use a code generator called Orval.
litestar
-
Show HN: Mountaineer – Webapps in Python and React
I wonder what happened after. It looks like the commenter/creator moved on:
https://github.com/litestar-org/litestar/commits?author=Gold...
-
Litestar – powerful, flexible, and highly performant Python ASGI framework
What would you like to see here? Could you perhaps open an issue at https://github.com/litestar-org/litestar so we can track and implement this?
If you are just needing a client what you need should be available OOTB, unless you want more hands off.
Here is also a good article for example: https://dev.to/pbaletkeman/secure-python-litestar-site-with-...
-
Show HN: Build your startup or side project faster with these SaaS templates
I thought Litestar was the recommendation these days over FastAPI. Is it not?
https://litestar.dev/
-
Killed by open sourced software. Companies that have had a significant market share stolen from open sourced alternatives.
Litestar - Litestar has been picking up quite a lot of steam in the past year since the lead maintainer of their largest OS competitor (fastapi) seems to be unable to prioritize listening to community feedback / concerns people have over the project. You literally can't mention fastapi on this site without people bringing up litestar.
-
It's Christmas day. You wake up, run to the tree, tear open the largest package with your name on it... FastAPI has added _____?
A redirect to https://litestar.dev/
-
Django 5.0 Is Released
What's the preferred Python Web Framework these days?
I've read a lot of love for Litestar (formerly Starlite), since it seems people prefer it over FastAPI, Flask, etc.
https://litestar.dev
- Ask HN: If you were to build a web app today what tech stack would you choose?
-
Don't put your business logic in the controllers
If your project is built using litestar then you have controllers.
-
Ask HN: Who wants to be hired? (October 2023)
System Integration: Odoo, Erpnext, Authentik, Authlia, Teleport, and more.
We are Hexcode Technologies, a Fullstack Development software agency based in Myanmar. We offer competitive rates and are available for full team or project-based development. With 30+ completed projects, we have a strong track record of delivering on time and within budget. Our flexible rates make us an ideal choice for startups, and we have experience building full-stack software for banks.
Our team consists of 3 Fullstack developers, 1 Scrum Master, 1 Frontend Specialist, 1 Deep Learning specialist, 1 Backend Specialist, and 1 UI/UX professional.
I am also available for hire as a Consultant and Fullstack/CTO . I have 20+ years of experience and actively contributes in opensource projects.
Focus: Python [Litestar, Django] + Typescript [Svelte, React] + Tailwind.
Contributes to Litestar: [Litestar Contributions](https://litestar.dev, https://github.com/litestar-org/litestar).
- Show HN: I built a Python web framework from scratch
What are some alternatives?
openapi-typescript-codegen - NodeJS library that generates Typescript or Javascript clients based on the OpenAPI specification
fastapi - FastAPI framework, high performance, easy to learn, fast to code, ready for production
jest-mock-extended - Type safe mocking extensions for Jest https://www.npmjs.com/package/jest-mock-extended
apiflask - A lightweight Python web API framework.
react-query-auth - ⚛️ Authenticate your react applications easily with react-query.
streamsync - No-code in the front, Python in the back. An open-source framework for creating data apps.
rtk-query - Data fetching and caching addon for Redux Toolkit
Flask - The Python micro framework for building web applications.
NSwag - The Swagger/OpenAPI toolchain for .NET, ASP.NET Core and TypeScript.
dream-html - Render HTML, SVG, MathML, htmx markup from your OCaml Dream backend server
graphql-code-generator - A tool for generating code based on a GraphQL schema and GraphQL operations (query/mutation/subscription), with flexible support for custom plugins.
live_svelte - Svelte inside Phoenix LiveView with seamless end-to-end reactivity