22 个仓库
Tools and middleware for simulating backend API responses and endpoints during frontend development.
Distinct from Frontend Development Environments: Focuses on API simulation/mocking rather than the general execution environment or runner.
Explore 22 awesome GitHub repositories matching development tools & productivity · Frontend API Mocking. Refine with filters or upvote what's useful.
Ant Design Pro is a comprehensive starter kit and administrative framework for building enterprise-level admin dashboards and professional user interfaces. It provides a structured project foundation and a set of React admin templates, including pre-defined layout blocks and routing configurations. The framework distinguishes itself by providing a built-in frontend mocking environment and mock-service middleware to simulate backend API responses during development. It also features integrated conversational AI components and assistant pages for embedding intelligent interactions directly into
Includes a built-in mocking environment and mock-service middleware to simulate backend responses without a live server.
vue-pure-admin is a comprehensive Vue 3 admin dashboard template and TypeScript boilerplate designed for building enterprise web applications. It provides a Vite-based frontend scaffold that incorporates a role-based access control system and a micro-frontend architecture for dividing large administrative applications into smaller, independently deployable units. The project features an advanced permission management framework that handles route protection, menu access filtering, and component-level visibility control. It includes specialized support for multi-tenant system administration, al
Includes a system to simulate server data using fake plugins and generators for frontend development without a live backend.
vue-admin-better is a Vue 3 admin dashboard template and framework used for creating data-driven backend management systems. It provides a responsive admin UI kit with pre-built page templates and layouts that adapt to desktop, mobile, and tablet screens. The framework features a dynamic route management system that renders application navigation and page access based on configurations received from a remote server. It includes a mock API development environment for generating and exporting simulated backend data, enabling frontend development to proceed without a live API. The project imple
Provides middleware for simulating backend API responses and endpoints during frontend development.
MSW is a JavaScript API mocking library and integration testing tool designed to intercept network requests at the network level. It allows for the definition of mock data and status codes using routing syntax to simulate server responses without requiring changes to the application source code. The project utilizes a service worker to proxy API calls in the browser, providing a mechanism for isolated frontend development and testing. It employs platform-specific network adapters to maintain a consistent mocking interface across both browser and Node.js environments. The library covers a ran
Simulates backend responses during development to build and test frontend applications without a live server.
This project is a mobile-first web interface built with Vue 3 that replicates the layout and interaction patterns of a short-form video platform. It is designed as a responsive web application focused on high-performance mobile rendering and short-video workflows. The application features a vertical video carousel with infinite scrolling and a vertical-slide view orchestration system for seamless content playback. It employs a responsive layout using viewport-relative units to ensure consistent rendering across various mobile screen sizes and aspect ratios. The project incorporates Pinia for
Simulates backend API responses using intercepted network calls and local JSON during development.
Vuestic Admin is a Vue 3 administration dashboard template and framework designed for building back-office applications and internal management consoles. It provides a ready-to-use foundation that integrates Vite, Pinia, and Tailwind CSS to accelerate the development of administrative interfaces. The project features a themed UI management system with a central configuration engine for global styles and branding, including a toggleable dark mode. It also includes a mocked API development environment that intercepts network requests and provides static data stubs for interface testing and rapi
Provides middleware for simulating backend API responses and endpoints during frontend development.
This project is an enterprise-grade admin dashboard boilerplate and starter kit built on Ant Design Vue. It provides a complete administrative interface with pre-designed pages, navigation patterns, and a professional design system to accelerate the development of business applications. The toolkit features a centralized visual theme configuration system for modifying style variables to meet specific brand requirements. It also includes a multi-language interface system for internationalization and a dedicated development kit for mocking API data using local JSON files. The scaffolding cover
Simulates backend API responses using local JSON files to decouple frontend development from the live server.
go-swagger is a toolkit for working with Swagger/OpenAPI 2.0 specifications in Go. It generates server, client, and CLI code from a specification document, and can also produce a specification by scanning annotated Go source code. The project includes a static validation engine that checks documents against the schema and project-specific rules, and a specification transformation pipeline that resolves, flattens, and merges documents. The toolkit generates both client and server code from the same specification, ensuring consistency in request and response handling. It also produces a command
Ships a built-in server that hosts a live, interactive UI for an API specification with mock data.
This project is a production-ready enterprise admin dashboard scaffold and front-end framework built with React and Ant Design. It provides a standardized toolkit for developing administrative interfaces and internal tools. The framework features a monorepo workspace architecture to manage shared packages and multiple applications. It includes an integrated development environment for simulating backend server responses through API mocking, enabling interface construction without a live backend. Capability areas cover identity and security through token-based authentication and backend-drive
Simulates backend API responses and endpoints to decouple frontend development from backend availability.
Karate 是一个 Gherkin API 测试框架和 JVM 测试编排器,专为 API 验证、工作流自动化和浏览器自动化而设计。它提供了一个统一的环境,用于在 Java 虚拟机上执行具有线程安全并发处理的可脚本化逻辑。 该项目包括一个内置的 HTTP 模拟服务器,通过向拦截的请求提供动态响应来模拟后端 API 行为。它还具有一个视觉回归测试工具,通过使用像素匹配分析将屏幕截图与基准图像进行比较,从而检测界面变化。 该系统通过将功能测试扩展为性能测试来支持 API 负载测试,以识别系统瓶颈。其他功能包括通过浏览器交互自动化进行的端到端 UI 测试,以及针对 JSON 和 XML 响应的数据结构验证。
Provides tools for simulating backend API responses and endpoints to test applications in isolation.
Yoga is a GraphQL server framework and runtime-agnostic HTTP handler used to build and deploy GraphQL APIs. It functions as a toolkit for managing schemas and resolvers, providing a spec-compliant environment for hosting APIs across diverse JavaScript runtimes, including Node.js, Deno, Bun, and serverless cloud environments. The project distinguishes itself through its ability to act as an Apollo Federation gateway, composing multiple subgraphs into a single unified supergraph. It also serves as a dedicated subscription server, delivering real-time data streaming via both WebSockets and Serve
Generates synthetic data based on the GraphQL schema to facilitate frontend development.
Mockoon is an HTTP API simulation platform and design tool used to create fake API endpoints that simulate server responses without a backend. It functions as an OpenAPI mock server tool and a JSON API mocking utility, allowing for the rapid iteration of API contracts and the generation of response templates. The project distinguishes itself through a combination of stateful mocking, using a local JSON database to simulate CRUD operations, and the ability to run as a headless API mock server via a command line interface. It supports real-time collaborative editing and AI-assisted prototyping
Creates fake API endpoints with dynamic data to enable frontend development without a completed backend.
Returns custom data from predefined rules instead of actual server responses for frontend development.
Mirage JS is a browser-based mock server and client-side API simulator designed for JavaScript application development. It functions as a mocking tool that intercepts network requests to simulate backend API behavior, allowing developers to build and test frontend interfaces without requiring live backend infrastructure. The tool provides a simulation layer that mimics REST endpoints to facilitate rapid prototyping of user flows and application logic. It enables the creation of fake server responses directly within the web browser to verify how an application handles various data scenarios an
Provides tools and middleware for simulating backend API responses and endpoints during frontend development.
This project is a React admin dashboard boilerplate designed for building backend administrative interfaces. It provides a pre-configured development stack that integrates a Redux state management framework, a role-based access control system, and a standardized Axios HTTP client wrapper. The system includes a mock API development environment that serves fake data through a local server to decouple frontend development from backend availability. It uses Vite for module bundling and provides a component-library based UI for constructing management interfaces. The platform covers a broad range
Includes a mock API environment to simulate backend responses and decouple frontend development.
JSONPlaceholder 是一个 REST API 模拟服务器和 JSON 模拟服务,提供托管的前端开发沙箱。它作为一个伪后端,返回预定义的 JSON 响应,以模拟用于开发和测试的 REST API。 该服务支持跨源资源共享(CORS),允许从不同的浏览器域测试 API 集成。它能够模拟 CRUD 操作并检索模拟数据,而无需实时数据库。 该系统将 URL 模式映射到静态的基于 JSON 的数据存储,并以无状态方式处理请求。它包括用于查询参数过滤和嵌套资源映射的功能,以模拟一对多关系数据结构。
Provides a hosted environment for simulating backend API responses and endpoints during frontend development.
gofakeit is a Go library for creating realistic synthetic datasets and populating Go structs with mock information. It functions as a deterministic data generator, allowing for seedable random number generation to ensure reproducible datasets for software testing. The project distinguishes itself by providing a mock data API server that exposes generation functions as HTTP endpoints and a synthetic dataset exporter for producing files in CSV, JSON, and XML formats. It also includes a command-line interface for generating mock data directly from the terminal. The library covers a wide array o
Exposes data generation functions as HTTP endpoints to simulate backend responses for frontend development.
This library provides a utility for intercepting and simulating HTTP requests within the Axios ecosystem. It functions as an HTTP request interceptor that allows developers to define mock responses for outgoing network traffic, enabling frontend integration testing and development without requiring live backend infrastructure. The tool distinguishes itself by offering granular control over the request lifecycle, including the ability to match specific request patterns and forward unmatched traffic to actual destinations. It supports the simulation of unstable network environments by injecting
Enables frontend development to proceed independently of backend availability by intercepting and returning predefined data for API endpoints.
This project is a template for building administrative dashboards using the Vue 3 framework and TypeScript. It provides a modular architecture designed to help developers organize, monitor, and control complex application settings through a centralized web portal. The template distinguishes itself by integrating a comprehensive suite of development tools, including a built-in backend API simulator and a frontend mock data generator. These features allow for the testing of application logic and user flows before production services are fully integrated. It also incorporates a reusable componen
Simulates backend server responses to facilitate testing of application logic and user flows.
This project is a REST mock API and e-commerce sandbox that provides simulated backend data for testing and prototyping. It serves as a JSON data provider, offering predefined endpoints to manage product catalogs, customer profiles, and shopping carts. The system uses JSON-based mock persistence and in-memory state simulation to deliver consistent data without a database. It includes a JWT authentication mock that simulates user login flows by issuing tokens to verify identity and access to protected resources. The API covers capabilities for catalog management, shopping cart operations, and
Serves as a mock backend that simulates API responses for products, users, and carts to support frontend development.