Skip to main content
Skip to main content

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:

ServiceURLCommand
API Serverhttp://localhost:3000npm run dev
DB Designerhttp://localhost:3001/uinpm run db-designer
Prisma Studiohttp://localhost:5555npm run prisma:studio

Need Help?​