# jasmine **Repository Path**: ABCDRD/jasmine ## Basic Information - **Project Name**: jasmine - **Description**: 基于AI Coding(Go+React+SQLite)的系统快速构建实践 - **Primary Language**: Go - **License**: Apache-2.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 2 - **Forks**: 1 - **Created**: 2026-03-13 - **Last Updated**: 2026-03-17 ## Categories & Tags **Categories**: Uncategorized **Tags**: AI, Go语言, React, aicoding ## README # jasmine Jasmine · Elegant and far-reaching, Simple yet extraordinary. This project uses SQLite tech stack, with Ant Design Pro as the frontend framework and Gin + GORM as the backend framework, implementing a simple user management system. ## Version History - **Version 0.0.3** (2026-03-15) - Add Docker Compose deployment method - Optimize deployment scripts - Update SERVER_IP retrieval logic - **Version 0.0.2** (2026-03-15) - Add Babata single page interface - Add Git branch specification documentation - Optimize project structure - **Version 0.0.1** (2026-03-15) - Technical architecture modeling - Initialize permission management module - Support Docker deployment ## Directory Structure ``` ├── backend/ # Backend Go code │ ├── app/ # Application code │ │ ├── api/ # API routes and handlers │ │ │ ├── handlers/ # Request handlers │ │ │ │ └── auth/ # Authentication and authorization handlers │ │ │ ├── middleware/ # Middleware │ │ │ └── routes.go # Route configuration │ │ ├── models/ # Data models │ │ │ └── auth/ # Authentication and authorization models │ │ ├── schemas/ # Request/response structures │ │ └── services/ # Business logic │ │ └── auth/ # Authentication and authorization services │ ├── config/ # Configuration files │ ├── go.mod # Go module dependencies │ ├── jasmine.db # SQLite database file │ └── main.go # Backend entry file ├── frontend/ # Frontend React code │ ├── public/ # Static resources │ ├── src/ # Source code │ │ ├── api/ # API services │ │ ├── components/ # Components │ │ ├── pages/ # Pages │ │ │ └── auth/ # Authentication and authorization pages │ │ ├── types/ # TypeScript type definitions │ │ ├── utils/ # Utility functions │ │ ├── App.tsx # Main application component │ │ ├── main.tsx # Entry file │ │ └── index.css # Global styles │ ├── index.html # HTML entry │ ├── package.json # Frontend dependencies │ ├── tsconfig.json # TypeScript configuration │ ├── tsconfig.node.json # Vite TypeScript configuration │ └── vite.config.ts # Vite configuration ├── README.md # Project documentation (Chinese) └── README.en.md # Project documentation (English) ``` ## Tech Stack - **Backend**: Go 1.23, Gin, GORM, SQLite - **Frontend**: React 18, Ant Design Pro, TypeScript, Vite ## Local Environment Versions - **Go**: 1.23.0 - **Node.js**: 24.14.0 - **npm**: 11.11.1 ## Quick Start ### Backend Setup 1. Navigate to the backend directory ```bash cd backend ``` 2. Install dependencies ```bash go mod tidy ``` 3. Start the backend server ```bash go run main.go ``` The backend server will start at `http://localhost:8001` ### Frontend Setup 1. Navigate to the frontend directory ```bash cd frontend ``` 2. Install dependencies ```bash npm install ``` 3. Start the frontend development server ```bash npm run dev ``` The frontend server will start at `http://localhost:3000` ## Features - **User Management**: Support for CRUD operations on users - **Data Storage**: Uses SQLite database to store user data - **API Interface**: Provides RESTful API endpoints - **Frontend Interface**: Modern management interface built with Ant Design Pro ## Development Tools - **VS Code**: Code editor - **TraeCn**: AI code generation and understanding tool ## Notes - This project uses SQLite database, and the data file will be automatically generated at `backend/db/development.db` - The frontend forwards API requests to the backend server through proxy configuration - The project adopts a modular design for easy extension and maintenance