1. Install the CLI
2. Initialize a project
From the root of your app, create abazable.config.json:
package.json for the project name and seeds an empty endpoints list. See bazable init for details.
3. Extract endpoints from your code
Scan the codebase to auto-populate the contract with real endpoints and payload schemas:bazable extract.
4. Validate code against the contract
inspect flags dead URLs, payload mismatches, and over-fetching. Run it locally, in a pre-push hook, or in CI.
5. Generate code and mocks
Backend stubs
Generate Express or Hono routes with Zod validation from your contract.
UI forms
Generate React + Tailwind form components from request schemas.
Mock server
Spin up a mock API with realistic data generation.
Local dashboard
Browse endpoints, schemas, and test your API in the browser.
6. Sync with your team
Push the contract to Bazable Cloud so teammates can pull it:What’s next
- Explore the full command reference.
- Try the frontend and backend cheat sheets.
- Let AI agents propose schema changes with
bazable proposeor hook them into your IDE withbazable mcp.