A Go-based web service and CLI tool designed for managing music projects, featuring both a REST API server and command-line functionality for project initialization.
- Web API: Fiber-based HTTP server with health check endpoints
- CLI Tool: Command-line interface for managing music projects
- Project Management: Initialize and manage music project structures
- Health Monitoring: Built-in health check endpoint for service monitoring
- Go 1.24.1 or higher
- Git (for version control integration)
- Clone the repository:
git clone https://github.com/imrun10/mixtrack-backend.git
cd mixtrack-backend- Install dependencies:
go mod download- Build the application:
go build -o mixtrack .Start the web server:
go run main.goThe server will start on port 8080 with the following endpoints:
GET /- Welcome messageGET /health- Health check endpoint
Use the CLI tool for project management:
./mixtrack --helpInitialize a new music project:
./mixtrack start <project-name>mixtrack-backend/
├── main.go # Web server entry point
├── go.mod # Go module definition
├── go.sum # Dependency checksums
├── cmd/ # CLI commands
│ └── root.go # Root command definition
└── internal/ # Internal packages
└── git/ # Git integration
└── init.go # Project initialization
go run main.gogo test ./...go build -o mixtrack .| Method | Endpoint | Description |
|---|---|---|
| GET | / | Welcome message |
| GET | /health | Health check |