feat: refresh innovation platform demo

This commit is contained in:
Codex
2026-03-18 18:47:19 +08:00
commit 64e61454ab
44 changed files with 3165 additions and 0 deletions

45
README.md Normal file
View File

@@ -0,0 +1,45 @@
# Innovation Platform
Innovation Platform is a Spring Boot based demo for university innovation and entrepreneurship project management.
## What is included
- Authentication endpoints powered by Sa-Token
- Project CRUD APIs with pagination
- Project dashboard statistics endpoint
- Static admin dashboard prototype at `backend/src/main/resources/static/index.html`
- Example SQL schema and seed data
## Demo accounts
- `admin / admin123`
- `teacher001 / admin123`
- `student001 / admin123`
## Notable API routes
- `POST /api/auth/login`
- `POST /api/auth/register`
- `POST /api/auth/logout`
- `GET /api/projects`
- `GET /api/projects/stats`
- `GET /api/projects/{id}`
- `POST /api/projects`
- `PUT /api/projects/{id}`
- `DELETE /api/projects/{id}`
## Dashboard prototype
When the backend is running, open `/index.html` to use the lightweight dashboard prototype. It can:
- request a login token
- load project statistics
- query recent projects with keyword, type, level, and status filters
- visualize status and level breakdowns
- view leader and advisor names directly in project rows
## Notes
- This repository snapshot was recovered from an archive, so local build and runtime validation depend on the target machine having Java and Maven available.
- The current environment used for editing did not include a working Maven installation, so changes were verified statically only.
- The SQL bootstrap files were refreshed into a clean UTF-8 seed set and made idempotent with `ON DUPLICATE KEY UPDATE`.