Quickstart
Get Whatomate up and running in minutes using Docker or manual installation.
Quick Start (Docker)
The fastest way to get started:
# Clone the repositorygit clone https://github.com/shridarpatil/whatomate.gitcd whatomate
# Start all services (PostgreSQL, Redis, Server)make docker-up
# Access the applicationopen http://localhost:8080Default login: admin@admin.com / admin
Manual Installation
Prerequisites
- Go 1.21+
- Node.js 18+
- PostgreSQL 14+
- Redis 6+
Step 1: Clone and Configure
git clone https://github.com/shridarpatil/whatomate.gitcd whatomatecp config.example.toml config.tomlStep 2: Setup PostgreSQL
# Create databasecreatedb whatomate
# Or using psqlpsql -c "CREATE DATABASE whatomate;"
# Or with custom userpsql -c "CREATE USER whatomate WITH PASSWORD 'whatomate123';"psql -c "CREATE DATABASE whatomate OWNER whatomate;"Update config.toml with your database credentials:
[database]host = "localhost"port = 5432user = "whatomate"password = "whatomate123"name = "whatomate"Step 3: Setup Redis
brew install redisbrew services start redissudo apt install redis-serversudo systemctl start redisdocker run -d -p 6379:6379 redis:alpineStep 4: Start Backend
# Install Go dependenciesgo mod download
# Run migrations and start servermake run-migrateStep 5: Start Frontend
Open a new terminal:
cd frontendnpm installnpm run devStep 6: Access Application
| Service | URL |
|---|---|
| Frontend | http://localhost:3000 |
| API | http://localhost:8080 |
Login: admin@admin.com / admin
Production Build
For production, build a single binary with embedded frontend:
make build-prod./whatomate server -migrateThis creates a self-contained binary—no separate frontend server needed. Access at http://localhost:8080.
3rd Party Hosting
Railway Template
Template to start with a production ready instance!
Troubleshooting
| Issue | Solution |
|---|---|
connection refused (database) | Ensure PostgreSQL is running: pg_isready |
connection refused (redis) | Ensure Redis is running: redis-cli ping |
database does not exist | Create it: createdb whatomate |
permission denied | Check database user/password in config.toml |
port already in use | Change port in config.toml or stop conflicting service |
| Frontend can’t reach API | Ensure backend is running on port 8080 |
WhatsApp Configuration
To connect your WhatsApp Business account:
- Create a Meta Business account at business.facebook.com
- Set up a WhatsApp Business API account
- Generate an access token and note your Phone Number ID
- Add these credentials in Whatomate’s Settings → Accounts
Next Steps
- Configuration Reference - Detailed configuration options
- Dashboard Overview - Explore the dashboard
- API Reference - Integrate via REST API