Mockit Server is your Swiss Army knife for API development - a feature-rich mock server with enterprise-grade security and real-time analytics. Perfect for testing, prototyping, and CI/CD pipelines!
👉 Live Demo: https://mockit-server.netlify.app
Feature | Mockit | JSON Server | Postman Mock | Mockoon |
---|---|---|---|---|
JWT Authentication | ✅ | ❌ | ❌ | ❌ |
CSRF Protection | ✅ | ❌ | ❌ | ❌ |
Rate Limiting | ✅ | ❌ | ❌ | ❌ |
Interactive Docs | ✅ | ❌ | ✅ | ❌ |
Database Simulation | ✅ | ✅ | ❌ | ✅ |
CI/CD Ready | ✅ | ✅ | ✅ | ✅ |
- Military-Grade Auth: JWT + CSRF token dual protection
- Rate Limiting: Adaptive request throttling (10 req/min default)
- CORS Management: Whitelist domains with wildcard support
- HTTPS Enforcement: Auto-redirect HTTP in production
- Dynamic Response Mocking
- Relational Data Modeling (Users → Pets → Tasks)
- Request Validation (400 Bad Request auto-handling)
- Persistent Sessions with cookie-based storage
- Real-time request logging
- Error tracking dashboard
- Performance metrics (Response times, error rates)
- Automated API documentation (OpenAPI 3.0 compliant)
- Node.js 16+ (LTS recommended)
- npm 8+ or yarn 1.22+
- Redis (for production rate limiting)
# Clone with depth 1 for faster download
git clone --depth 1 https://github.com/jonkirathe/mockit.git
cd mockit
# Install dependencies
npm install
# Configure environment
cp .env.example .env