Tools & Workflows
Apso provides tools for building, testing, evolving, and deploying generated backend services. This page is for developers and AI-assisted builders who need the practical loop, not just a list of commands.
Recommended Loop
apso initcreates or links the service project..apsorccaptures the domain model.apso generateturns the schema into framework code.apso migratechecks schema changes before they reach a real database.apso devruns the service locally while you add extension logic.
Core Tools
Command-line interface for scaffolding and managing projects
Apso CLIType-safe client SDK for your generated APIs
Apso SDKUse Claude Code, Cursor, or Codex with a schema-first workflow
AI-Assisted DevelopmentDevelopment Workflows
Set up your local development environment
Local DevelopmentManage database schema changes
MigrationsUnit, integration, and end-to-end testing
TestingValidate Apso workflows from product idea to generated API
End-to-End TestingQuick Reference
CLI Commands
# Authentication
apso login # Authenticate with Apso Cloud
apso logout # Clear credentials
# Project Management
apso init --name my-api # Create a new project
apso generate # Generate code from .apsorc
# Development
apso migrate # Test schema changes locally
apso dev # Start development serverSDK Usage
import { ApsoClient } from '@apso/sdk'
const client = new ApsoClient({
baseUrl: 'http://localhost:3000'
})
// Query data
const projects = await client.projects.findMany()
// Create record
const newProject = await client.projects.create({
name: 'My Project'
})Recommended Workflow
- Create project:
apso init --name my-api - Define schema: Edit
.apsorcwith your entities - Generate code:
apso generate - Check migrations:
apso migrate - Start developing:
apso dev - Test changes: Use SDK or REST client
- Iterate: Modify schema, regenerate, migrate
Last updated on