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.
yaml or json specs into a live FastAPI server.# Clone the repository
git clone https://github.com/Raphasha27/api-mock-server.git
cd api-mock-server
# Install dependencies
pip install typer fastapi uvicorn PyYAML
python ghost.py serve ./openapi.yaml
Once 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:
We build together — credit goes to the whole team, not one person.