Claude Code d0624a2bc2 feat: Implement Authentication Handlers (Issue #3)
- Create AuthService with login, refresh token, and user management
- Implement Login with password verification
- Implement RefreshToken for token renewal
- Implement GetCurrentUser endpoint
- Add ChangePassword functionality
- Add CreateUser for admin user creation
- Create AuthHandler with HTTP endpoints
- Add comprehensive validation and error handling
- Add google/uuid dependency to go.mod

Closes #3

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-02-05 00:48:55 +03:00
2026-02-05 00:44:11 +03:00
2026-02-05 00:44:11 +03:00

VictoriaLogs Manager

A comprehensive web application for managing VictoriaLogs with alerting, advanced reporting, and malicious pattern detection.

Features

  • Log Exploration: Query and search logs using LogsQL with visual query builder
  • Alert Management: Create and manage vmalert rules with YAML editor
  • Pattern Detection: Find malicious patterns using regex and ML-based anomaly detection
  • Reports & Dashboards: Fancy visualizations and custom reports
  • Role-Based Access: Admin, Editor, Analyst, and Viewer roles

Tech Stack

  • Backend: Go (Gin framework)
  • Frontend: React + TypeScript + Vite
  • Database: PostgreSQL
  • ML Service: Python (FastAPI + scikit-learn)
  • Deployment: Docker Compose

Project Structure

victorialogs-manager/
├── backend/          # Go API server
├── frontend/         # React SPA
├── ml-service/       # Python ML service
└── docker-compose.yml

Getting Started

Prerequisites

  • Go 1.21+
  • Node.js 18+
  • Python 3.11+
  • Docker & Docker Compose

Quick Start with Docker

# Copy environment file
cp .env.example .env

# Edit .env with your configuration
nano .env

# Start all services
docker-compose up -d

The application will be available at:

Development Setup

Backend

cd backend
go mod download
go run cmd/server/main.go

Frontend

cd frontend
npm install
npm run dev

ML Service

cd ml-service
pip install -r requirements.txt
uvicorn app.main:app --reload

Configuration

See .env.example for all available configuration options.

Documentation

License

MIT

Description
A comprehensive web application for managing VictoriaLogs with alerting, advanced reporting, and malicious pattern detection
Readme 93 KiB
Languages
Go 71.6%
TypeScript 17.5%
PLpgSQL 4.5%
Python 2.8%
Dockerfile 1.7%
Other 1.9%