Initial commit: Material Texture API service

- Go + Gin + GORM + PostgreSQL backend
- RESTful API for material management
- Docker deployment support
- Database partitioning for billion-scale data
- API documentation

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
likegears
2025-12-11 15:29:49 +08:00
commit 85ba15c564
31 changed files with 1518167 additions and 0 deletions

8
.env.example Normal file
View File

@@ -0,0 +1,8 @@
# 服务器配置
SERVER_PORT=8080
# 数据库配置
DATABASE_URL=postgres://postgres:postgres@localhost:5432/material_db?sslmode=disable
# API认证Token
API_TOKEN=seatons3d