# astronomy **Repository Path**: lancemorii-git/astronomy ## Basic Information - **Project Name**: astronomy - **Description**: 天文社社区雏形 - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2026-04-24 - **Last Updated**: 2026-04-24 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # 天问天文社官方网站 (Tianwen Astronomy Club) > 深蓝星空主题 · Spring Boot 3 后端 · Vite + Vue 3 前端 This repository is being developed in real project order: 1. Database schema 2. Spring Boot backend 3. Vue frontend 4. Integration and deployment ## Backend Path: ```text backend/ ``` Main stack: - Spring Boot 3 - Spring Security + JWT - MyBatis-Plus - MySQL 8 - Local file upload storage Default backend port: ```text 8080 ``` Default admin account is created on first startup when the database table exists: ```text username: admin password: admin123456 ``` Change the password after first login in a later admin-user module. ## Database Schema path: ```text docs/sql/schema.sql ``` Demo seed path: ```text docs/sql/seed_demo.sql ``` Default connection in `backend/src/main/resources/application.yml`: ```text jdbc:mysql://localhost:3306/astronomy_club username: root password: root ``` ## Optional Local MySQL ```powershell docker compose up -d mysql ``` Then import: ```powershell mysql -h 127.0.0.1 -P 3306 -u root -proot < docs/sql/schema.sql ``` ## Compile ```powershell cd backend mvn -DskipTests compile ``` ## Frontend ```powershell cd frontend npm run dev ``` The dev server serves both entrances: ```text / portal website /admin admin console /admin/login admin login ``` More deployment notes: ```text docs/DEPLOYMENT.md ``` Current progress: ```text docs/PROJECT_PROGRESS.md ```