feat(backend,docker,docs): implement Go/Gin/SQLite REST API server, Docker containerization, and architecture specifications
- Implement standalone Go backend API server using Gin and pure-Go SQLite (modernc.org/sqlite) - Add 11-table schema DDL migrations (000001_init.up.sql) based on DATA_TABLE.md - Add seed data ingestion tool (cmd/seed) and static TypeScript content exporter (cmd/export-content) - Add configuration loader (internal/config) supporting environment variables and .env files (HOST, PORT, DB_PATH, GIN_MODE, CORS_ALLOW_ORIGINS, AUTO_MIGRATE) - Add lightweight multi-stage Dockerfile and docker-compose.yml with persistent SQLite volume - Add comprehensive architecture specification (ARCHITECTURE.md) and REST API interface specification (API_INTERFACE.md) - Harmonize frontend publications page to consume isHighlight flag from database-synced content
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
// AUTO-GENERATED by scripts/extract/generate_all.py — DO NOT EDIT BY HAND
|
||||
// AUTO-GENERATED by backend/cmd/export-content — DO NOT EDIT BY HAND
|
||||
import { Semester } from "./types";
|
||||
|
||||
export const semesters: Semester[] = [
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// AUTO-GENERATED by scripts/extract/generate_all.py — DO NOT EDIT BY HAND
|
||||
// AUTO-GENERATED by backend/cmd/export-content — DO NOT EDIT BY HAND
|
||||
import { Member, Alumnus } from "./types";
|
||||
|
||||
export const activeMembers: Member[] = [
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// AUTO-GENERATED by scripts/extract/generate_all.py — DO NOT EDIT BY HAND
|
||||
// AUTO-GENERATED by backend/cmd/export-content — DO NOT EDIT BY HAND
|
||||
import { ResearchProject } from "./types";
|
||||
|
||||
export const researchProjects: ResearchProject[] = [
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -1,4 +1,4 @@
|
||||
// AUTO-GENERATED by scripts/extract/generate_all.py — DO NOT EDIT BY HAND
|
||||
// AUTO-GENERATED by backend/cmd/export-content — DO NOT EDIT BY HAND
|
||||
import { StandardsBody } from "./types";
|
||||
|
||||
export const standardsBodies: StandardsBody[] = [
|
||||
|
||||
@@ -31,6 +31,7 @@ export interface Publication {
|
||||
publishedAt: string; // ISO 8601 YYYY-MM or YYYY-MM-DD
|
||||
kci?: boolean;
|
||||
doi?: string;
|
||||
isHighlight?: boolean;
|
||||
}
|
||||
|
||||
export interface Patent {
|
||||
|
||||
Reference in New Issue
Block a user