Mocktail

Mock any HTTP endpoint in seconds β€” fast, free, and container-ready.

Go, JS πŸ“„ MIT ⭐ …

Mocktail solves the β€œI need a backend right now” problem. It’s a tiny, Docker-ready mock server that lets you create REST API endpoints, return any response, add delays, and watch live traffic through a built-in request inspector.

I built it to remove friction in frontend development and demos where real services aren’t available. It’s especially demo-friendly β€” you can shape exact responses and make your presentation work in your favour even when the real backend isn’t ready. Real-time logs, code snippet generation, faker-based data randomization, advanced JSON modification tools, and persistent storage make it more than a JSON stub β€” it’s a complete mock API workflow.

Upcoming MCP server support will allow AI tools to generate JSON that respects your database schema and existing API structure, keeping mocks realistic and aligned with your data model.

Copilot says: AI-generated

Spin up fake APIs in seconds with this tiny 13MB container that comes with a slick dashboard β€” perfect for frontend devs tired of waiting on backend teams or anyone who needs to test error handling without breaking production.

Key features:

  • 🍸 Create mocks for any HTTP method with custom status codes and response delays
  • ✨ Modern dashboard with JSON editor, syntax highlighting, and auto-generated code snippets
  • 🎲 Alpha feature randomizes fake data with 20+ faker types for realistic responses
  • πŸ“¦ SQLite persistence and easy import/export so your mocks travel with you

This summary was generated by GitHub Copilot based on the project README.