69 repositorios
Tools for building web APIs.
Explore 69 awesome GitHub repositories matching part of an awesome list · API Frameworks. Refine with filters or upvote what's useful.
FastAPI is a high-performance Python web framework designed for building REST APIs. It operates as an ASGI web framework, providing a system to create structured HTTP endpoints that automatically serialize data and validate request parameters. The framework utilizes Python type hints to drive data validation and serialization, automatically generating machine-readable OpenAPI and JSON Schema specifications. This process enables the automatic creation of interactive, browser-based API documentation where endpoints can be tested directly. The project includes a dependency injection system for
High-performance framework using modern Python type hints.
Nest is an enterprise Node.js framework designed for building scalable and maintainable server-side applications. It provides a typed environment for developing backend services using TypeScript and JavaScript, incorporating architectural patterns for both object-oriented and functional programming. The framework organizes complex backend logic into a modular application structure to ensure clear boundary separation. It utilizes a dependency injection container to manage object lifecycles and a decorator-based metadata system to attach configuration and routing data to classes and methods. T
Scalable Node.js framework built with TypeScript.
Fiber is a high-performance web framework designed for building scalable HTTP services with minimal memory overhead. It provides a comprehensive runtime environment for managing the full request lifecycle, utilizing an optimized radix tree for high-speed route matching and an object pooling system to reduce garbage collection pressure during traffic processing. The framework distinguishes itself through its multi-process architecture, which supports prefork socket reuse to distribute incoming traffic across all available CPU cores. It offers a modular approach to application development, feat
Express-inspired web framework for Go.
PostgREST is a standalone web server that automatically transforms a PostgreSQL database into a RESTful API. It serves as an API gateway that translates HTTP requests into SQL queries, mapping the database schema directly to endpoints without the need for manual route definitions. The system utilizes a JWT authentication layer to validate user identities and map incoming web requests to specific database roles. This allows the server to delegate authorization and permission enforcement to the internal PostgreSQL role system. It includes a generator for OpenAPI specifications to provide stand
Serves RESTful APIs directly from PostgreSQL databases.
Sanic is a Python ASGI web framework and asynchronous HTTP server. It is designed to build high-performance web applications and servers that handle concurrent requests using non-blocking logic. The framework implements the Asynchronous Server Gateway Interface standard, allowing applications to be deployed across various ASGI-compatible servers. It utilizes an asyncio-based event loop and integrates a Cython-based runtime wrapper around libuv to manage I/O operations. The system manages traffic through route-based request dispatching and a middleware-based request pipeline. These components
Fast, Flask-like web server for Python.
Yii2 is a professional PHP web framework designed for developing high-performance, scalable enterprise web applications. It utilizes a Model-View-Controller architecture to separate data logic, user interfaces, and request handling, ensuring maintainability for large-scale projects. The framework includes a built-in PHP code generator that automates the creation of boilerplate controllers and models by scanning database schemas. It provides an Active Record object-relational mapping system where classes represent tables and instances represent rows to manage data persistence. Additional capa
Tools for implementing RESTful web services in PHP.
Restify is a Node.js web framework designed for building scalable RESTful web services and APIs. It provides a server-side environment for creating HTTP network services with integrated routing and request handling. The framework utilizes a middleware-based architecture to process incoming requests and manage responses. This approach supports the construction of web interfaces that follow standard architectural principles to deliver data to clients. The system covers a broad range of backend engineering capabilities, including route-based request dispatching, schema-based request validation,
Node.js framework specifically for web service APIs.
Grape is a RESTful web service framework for Ruby designed for building structured APIs. It provides a declarative syntax for routing and parameter validation, allowing developers to map HTTP verbs to logic through a domain specific language. The framework is distinguished by its built-in support for service versioning, which can be managed via URL paths, custom headers, or request parameters. It also features a modular architecture that allows large services to be constructed by nesting smaller API definitions. The project covers comprehensive API lifecycle capabilities, including schema-dr
Micro-framework for creating REST-like APIs in Ruby.
Falcon is a minimalist Python web API framework and high-performance microservices framework. It serves as a resource-oriented API toolkit designed for building RESTful APIs and data plane services that prioritize low overhead, reliability, and scale. The framework implements an ASGI web server interface to handle both synchronous and asynchronous HTTP requests and WebSockets. It features a dedicated HTTP middleware system for intercepting network traffic and executing shared processing logic across multiple API endpoints. Its capability surface covers resource-based routing, HTTP specificat
High-performance, low-level framework for Python APIs.
This is a framework for building standardized RESTful APIs within Laravel and Lumen applications. It provides a structured environment for developing web services with integrated routing, request handling, and versioning. The project distinguishes itself through a multi-adapter authentication system that validates identities via various schemes and third-party providers. It features a dedicated response transformation layer to convert raw database models into consistent output structures and an internal dispatcher that allows application logic to trigger API endpoints without external network
RESTful API package for Laravel and Lumen.
API Platform is a headless content management system engine and framework used to build REST and GraphQL APIs. It utilizes schema-driven generation to automatically produce web endpoints based on predefined data model definitions. The platform focuses on semantic data modeling, using structured classes and ontologies to ensure information is organized for search engines and semantic web tools. It provides an automated OpenAPI specification generator and a declarative system for creating administration dashboards to manage data records without custom frontend code. The system includes capabil
API framework for Symfony with JSON-LD support.
Cowboy is a high-performance HTTP server for Erlang and OTP. It is designed to handle web traffic with low memory usage and can be used as a standalone server or as an embedded networking library integrated directly into an existing application. The project implements modern transport protocols, including HTTP/3, QUIC, and WebTransport, to enable faster connections and bidirectional data streaming. It also functions as a real-time communication server supporting Server-Sent Events for pushing asynchronous updates to clients. Broad capabilities include path and content-type based request rout
Small, fast HTTP server for Erlang.
Flask-restful is a toolkit for building structured web services using Flask. It functions as a resource-based routing library and a RESTful web service toolkit that organizes endpoints into resource classes. The framework implements a system that maps HTTP methods to specific class methods to handle requests and responses. It utilizes a central registry for resource registration to automate route creation and uses decorators for method dispatch and resource access control. The project covers request and response management through declarative request parsing, argument validation, and data ty
Extension for building REST APIs with Flask.
Hug is a type-driven Python web framework designed for building APIs. It uses Python type annotations to automatically validate and convert incoming request data and to format outgoing responses. The framework functions as an automated documentation tool by extracting function signatures and markers from source code to generate accessible API specifications. It also supports non-blocking coroutines for asynchronous API processing to handle background tasks without interrupting the main request cycle. The project provides capabilities for REST API development, including route mapping, endpoin
Simplifies API development in Python.
Hug is a Python API framework used for building web services by mapping functions to HTTP endpoints via decorators and type annotations. It functions as a type-based validator that automatically converts and validates incoming request data based on Python type hints and serves as a WSGI-compliant web framework for deployment on production servers. The project is distinguished by its ability to automatically generate API specifications and user-facing documentation derived from function signatures. It further extends the utility of internal logic by exposing functions as terminal commands thro
Framework for building clean, public-facing APIs.
APIStar is an OpenAPI framework providing a toolkit for building and verifying web APIs. It functions as an API schema validator, a traffic auditor, and a documentation generator to ensure compliance with API specifications and data types. The project converts OpenAPI and Swagger schemas into visual developer guides using customizable themes. It also implements a dynamic API client that adapts to defined schemas to send requests to remote servers. The framework includes capabilities for validating API schemas to identify structural mistakes and auditing incoming and outgoing web traffic agai
Smart web API framework for Python 3.
Este es un framework de Ruby on Rails optimizado diseñado para construir servicios backend ligeros y endpoints JSON. Utiliza una arquitectura modelo-vista-controlador para separar los modelos de datos y la lógica de negocio de las respuestas de la API, omitiendo específicamente las vistas centradas en el navegador para reducir la sobrecarga del sistema. El framework proporciona un sistema para generar rápidamente modelos, controladores y rutas mediante scaffolding de API JSON. Mapea verbos HTTP a controladores para asegurar un enrutamiento de recursos y modelado de datos consistentes para backends de API RESTful. El proyecto incluye capacidades para la gestión de solicitudes HTTP, como autenticación, prevención de suplantación de IP y configuración de pipeline de middleware. Además, soporta la observabilidad de la aplicación mediante el registro de actividad de solicitudes e instrumentación de eventos, junto con optimizaciones de rendimiento como caché de respuestas y manejo de solicitudes condicionales.
Optimized Rails configuration for API-only applications.
go-restful es un framework para construir servicios web RESTful en Go. Funciona como un kit de herramientas para gestionar endpoints de API, proporcionando un enrutador de peticiones que mapea las peticiones HTTP entrantes a funciones manejadoras utilizando parámetros de ruta y patrones de URL personalizados. El framework incluye una capa de conversión de datos que transforma estructuras de Go a formatos JSON o XML para cuerpos de petición y respuesta. También proporciona un sistema para organizar servicios web relacionados en contenedores para gestionar el prefijado de endpoints y la configuración compartida. El proyecto cubre la gestión del ciclo de vida de las peticiones mediante filtros de middleware para validación y autenticación, así como la gestión de cabeceras de intercambio de recursos de origen cruzado (CORS). Las capacidades adicionales incluyen compresión de carga útil mediante gzip o deflate y middleware de recuperación de pánico para devolver respuestas de error estandarizadas.
Declarative framework for building RESTful APIs.
deployd es un framework de API en tiempo real y un backend de MongoDB como servicio que permite la creación de interfaces en red que sincronizan datos y eventos entre clientes y servidores. Funciona como un middleware de API de JavaScript que puede integrarse con servidores HTTP para proporcionar autenticación, interceptores de solicitudes y capacidades en tiempo real. El proyecto cuenta con un panel de gestión de API autohospedado para configurar ajustes de recursos, gestionar colecciones de datos y monitorear el estado del servidor a través de una interfaz basada en web. Incluye un motor de sincronización de datos en tiempo real que envía actualizaciones de base de datos en vivo a los clientes conectados mediante sockets. El sistema cubre la gestión de datos de backend con validación de esquemas y consultas recursivas, así como flujos de trabajo de autenticación de usuarios que rastrean sesiones a través de solicitudes sin estado y conexiones persistentes. También proporciona capacidades para la transmisión de eventos en tiempo real, extensión de middleware de API personalizada a través de módulos y control de acceso administrativo. El proyecto incluye una CLI para arrancar nuevos proyectos y ejecutar servidores de desarrollo.
Simplifies building real-time APIs for web and mobile.
Connexion es un framework basado en especificaciones para construir APIs que mapea automáticamente las especificaciones OpenAPI a la lógica de la aplicación. Utiliza estas especificaciones para automatizar el enrutamiento, la validación de solicitudes y la serialización de respuestas, vinculando las operaciones de la API a funciones de manejo backend a través de IDs de operación. El proyecto se diferencia al proporcionar un servidor mock basado en esquemas que simula el comportamiento de la API utilizando respuestas de ejemplo de la especificación sin requerir lógica backend. También incluye un sistema de alojamiento de documentación dinámica que traduce la especificación de la API en una consola interactiva en vivo para explorar y probar endpoints. El framework cubre áreas de capacidad amplias, incluyendo la aplicación de seguridad mediante autenticación basada en middleware y validación de alcance (scope), lógica de validación de solicitudes y respuestas conectable, e inyección automática de parámetros en argumentos de función tipados. También proporciona utilidades para la gestión del ciclo de vida de la aplicación, integración de middleware personalizado y simulación de solicitudes para pruebas. El proyecto puede utilizarse para arrancar aplicaciones web independientes o envolver frameworks existentes para añadir capacidades basadas en especificaciones.
OpenAPI-first framework for Python with automatic validation.