A full fake REST API generator written in Rust, inspired by json-server.
Weld is a fake REST API generator written in Rust that creates a full REST API from a JSON data source. It enables developers to simulate backend services for frontend development, testing, and prototyping without setting up a real server. The project is heavily inspired by json-server but built with Rust for performance and reliability.
Frontend and full-stack developers who need a mock backend for prototyping, testing, or demoing applications without a real API.
Developers choose Weld for its simplicity, speed, and Rust-based reliability, offering a lightweight alternative to json-server with features like nested data access and a powerful query API.
Full fake REST API generator written with Rust
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.
Built with Hyper and Serde, Weld offers fast and reliable API serving, leveraging Rust's efficiency for lightweight mock servers.
Uses straightforward JSON files for server and database settings, as shown in the configuration example, making setup and updates easy.
Supports field selection, paging, sorting, filtering, and full-text search via query parameters, detailed in the README's Query API section.
Allows retrieval of nested fields through URL paths, enabling realistic API simulation for complex JSON structures without additional setup.
The README openly states it may have bugs and missing features, relying on community contributions for fixes, which risks stability for critical use.
Installation requires Rust and Cargo, involving cloning and building from source, adding complexity for developers not already in the Rust ecosystem.
Lacks built-in authentication or authorization features, limiting its usefulness for simulating secured APIs in testing scenarios.
Stores data in a plain JSON file, which can become inefficient for large datasets or concurrent writes, as noted in the database description.
Weld is an open-source alternative to the following products: