Commands Reference
Complete reference for all Mifty CLI commands, npm scripts, and development workflows.
Quick Navigation
CLI Commands
Complete reference for all Mifty CLI commands and npm scripts including:
- Project initialization
- Development server commands
- Database management (Prisma)
- Module generation
- Testing and quality assurance
- Adapter management
- Authentication setup
NPM Scripts
Detailed documentation of all package.json scripts and development workflows.
Development Commands
Development-specific commands and workflows for daily use.
Production Commands
Production deployment and build commands.
Most Common Commands
Quick Start
mifty init my-api && cd my-api && npm run dev
Create new project and start development server
Development Workflow
npm run dev:full
Start all development services (API + DB Designer + Monitor)
Generate Code
npm run generate
Generate modules from database design
Run Tests
npm test
Run all tests with coverage
Command Categories
- Project Setup: Initialize and configure new projects
- Development: Daily development workflow commands
- Database: Prisma and database management
- Testing: Test execution and coverage
- Build: Production build and deployment
- Adapters: Third-party service integrations
- Quality: Code linting, formatting, and monitoring
Service URLs
When running development commands, these services become available:
| Service | URL | Command |
|---|---|---|
| API Server | http://localhost:3000 | npm run dev |
| DB Designer | http://localhost:3001/ui | npm run db-designer |
| Prisma Studio | http://localhost:5555 | npm run prisma:studio |
Need Help?
- See Troubleshooting for common command issues
- Check Development Workflows for detailed processes
- Visit Getting Started for initial setup guidance