Get MAS Hub running locally in under 5 minutes with Docker or manual installation.
- Node.js 18+ or Docker - PostgreSQL 14+ (or use Docker) - Git
The fastest way to get started is using our Docker Compose setup:
```bash # Clone the repository git clone https://github.com/maschain/mas-hub cd mas-hub
Your MAS Hub instance will be available at `http://localhost:3000`.
If you prefer to install manually:
```bash # Install dependencies npm install
Edit your `.env.local` file with your configuration:
```env # Database DATABASE_URL="postgresql://user:password@localhost:5432/mashub"
Test your installation by making your first API call:
curl -X GET http://localhost:3000/api/health
You should see: ```json { "status": "healthy", "version": "1.0.0", "database": "connected", "maschain": "connected" } ```