openapi-backend
path-to-regexp
openapi-backend | path-to-regexp | |
---|---|---|
2 | 2 | |
579 | 7,953 | |
1.4% | 0.5% | |
7.7 | 5.8 | |
about 2 months ago | 25 days ago | |
TypeScript | TypeScript | |
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.
openapi-backend
- Full stack typesafe API-first development for REST
-
Show HN: REST Alternative to GraphQL and tRPC
Cheers! Going from code first to schema first is definitely worth it in my experience! Especially when working in a team.
The nice thing is you already have an openapi spec, so it’s pretty trivial to eject from fastify swagger and switch to openapi-backend if you want!
Here’s an example of openapi-backend running on Fastify
https://github.com/openapistack/openapi-backend/tree/main/ex...
path-to-regexp
-
NextJS 13 - Protecting dynamic routes with middleware file
Matchers use path-to-regex, which doesn’t follow regex exactly: https://github.com/pillarjs/path-to-regexp
-
NextJS custom image loader with WebP support and polyfill
Extremely hacky Regex-like syntax path-to-regexp
What are some alternatives?
zod-to-openapi - A library that generates OpenAPI (Swagger) docs from Zod schemas
express-openapi-validator - 🦋 Auto-validates api requests, responses, and securities using ExpressJS and an OpenAPI 3.x specification
openapi-client-axios - JavaScript client library for consuming OpenAPI-enabled APIs with axios
zemi - zemi is a data-driven and reverse-routing library for Express JS.
airform - Functional HTML forms for Front-End Developers.
krabs - 🦀 Express.js/Fastify middleware and virtual host for multi-tenant Next.js applications
openapi-backend - Build, Validate, Route, Authenticate and Mock using OpenAPI
gridtap-turbo - Tap fast and climb the leaderboards in Gridtap Turbo, a fast-paced grid-tapping challenge
connexion - Connexion is a modern Python web framework that makes spec-first and api-first development easy.
node-file-router - 💫 A file-based routing for Node.js. Works with Bun, pure Node.js, Express.js, and more!
msgpack-javascript - @msgpack/msgpack - MessagePack for JavaScript / msgpack.org[JavaScript/TypeScript/ECMA-262]
express-validator - An express.js middleware for validator.js.