forked from admin/innovation-platform
feat: refresh innovation platform demo
This commit is contained in:
45
README.md
Normal file
45
README.md
Normal 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`.
|
||||
Reference in New Issue
Block a user