Ghost is an instant mock API engine that turns any OpenAPI (Swagger) specification into a live, local mock server in seconds. It bridges the gap between frontend and backend development by allowing teams to test against realistic API responses before the real service is built.
- ⚡ Instant Serving: One command to turn
yamlorjsonspecs into a live FastAPI server. - 🔄 Dynamic Mocking: Automatically extracts examples and schemas from your spec to generate responses.
- 🛠️ Developer-First: Lightweight, zero-config, and designed for local frontend development.
- 🐳 Docker Ready: Easily containerize your mock server for shared staging environments.
# Clone the repository
git clone https://github.com/Raphasha27/api-mock-server.git
cd api-mock-server
# Install dependencies
pip install typer fastapi uvicorn PyYAMLpython ghost.py serve ./openapi.yamlOnce running, you can access your endpoints at http://localhost:8080.
Built with ❤️ by Koketso Raphasha using DevForge AI.
Built and maintained by the Kirov Dynamics team:
- Raphasha27 — Project lead & maintainer
- KirovDynamicsTechnology — Kirov Dynamics (company group)
- DkMash — Teammate & co-developer
- LindiweMotaung — Collaborator
We build together — credit goes to the whole team, not one person.