Skip to content

A Go-based web service and CLI tool designed for managing music projects, featuring both a Fiber web server.

Notifications You must be signed in to change notification settings

imrun10/mixtrack-backend

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MixTrack Backend

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.

Features

  • 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

Prerequisites

  • Go 1.24.1 or higher
  • Git (for version control integration)

Installation

  1. Clone the repository:
git clone https://github.com/imrun10/mixtrack-backend.git
cd mixtrack-backend
  1. Install dependencies:
go mod download
  1. Build the application:
go build -o mixtrack .

Usage

Web Server

Start the web server:

go run main.go

The server will start on port 8080 with the following endpoints:

  • GET / - Welcome message
  • GET /health - Health check endpoint

CLI Tool

Use the CLI tool for project management:

./mixtrack --help

Initialize a new music project:

./mixtrack start <project-name>

Project Structure

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

Dependencies

Development

Running in Development

go run main.go

Testing

go test ./...

Building

go build -o mixtrack .

API Endpoints

Method Endpoint Description
GET / Welcome message
GET /health Health check

About

A Go-based web service and CLI tool designed for managing music projects, featuring both a Fiber web server.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages