Quick Start
UI Only
To run just the frontend without backend services:All Services (Interactive)
To run all services (UI, API, Mana) with an interactive service selector:Running local backend services requires Docker to be running on your machine.
Setting Up Backend Services
If you want to run the API or Mana services locally, follow these setup steps:Configure API Environment
Copy the example environment file in The default values in
apps/api:.env.example should work for local development.Running Individual Services
You can run services individually using Turborepo:Tips for Faster Syncing
When runningyarn dev:interactive for the first time, the API will sync all blocks from the configured starting block, which can take a long time.
Adjust Starting Block
To speed up initial syncing, you can change the starting block for indexing:For Starknet
Edit
apps/api/src/starknet/config.ts and update the starting block number (around line 40).Find the configuration that sets the initial block for indexing and change it to a more recent block number.Common Commands
Here are other useful commands for development:Troubleshooting
Docker Issues
If services fail to start, ensure Docker is running:Port Conflicts
If you see port conflict errors, check if other services are using the default ports:- UI:
3000 - API:
3000(GraphQL) - Mana: varies by configuration
Environment Variables
If Mana fails to start, double-check that required environment variables are set inapps/mana/.env.
Next Steps
- Learn about contributing guidelines
- Explore the SDK overview
- Review development setup if you encounter issues