Skip to content

【开源自荐】基于 faker.js 的在线接口 mock 服务 #5321

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
Ray-D-Song opened this issue Oct 14, 2024 · 0 comments
Open

【开源自荐】基于 faker.js 的在线接口 mock 服务 #5321

Ray-D-Song opened this issue Oct 14, 2024 · 0 comments
Labels

Comments

@Ray-D-Song
Copy link

Ray-D-Song commented Oct 14, 2024

Faker Server

Faker Server 是一个基于 Faker.js 的 mock 服务器,修改接口实时更新。
使用 MongoDB 作为数据存储,支持结构化数据。
项目包含一个前端管理页面,可以方便地在线管理接口。

项目地址 https://github.com/Ray-D-Song/faker-server

Faker Server

在线演示:https://faker-preview.jenrays.com/
只读密钥:1234

Mock 接口列表:

Why

有不少 SaaS 服务提供了在线 mock 服务,比如 Apifox、Insomnia,不过他们首先是一个 API 设计工具,其次才是 mock 服务。

如果你只是要为 demo 提供接口,或者在后端完成工作前创建假数据,那他们的工具太重了。
更重要的是他们只会为商务用户提供 self-host 服务,对于普通开发者并不是很友好。

而且我不是很认同这种类型的开发者工具强制登录才能使用。

@ruanyf ruanyf added the weekly label Oct 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants