A full-stack task management tool built with Vue 3 + Spring Boot 3 + MySQL.
- Vue 3
- Vite
- Element Plus
- Pinia (State Management)
- Vue Router
- Spring Boot 3
- MyBatis-Plus
- JWT Authentication
- MySQL
- User registration and login
- JWT-based authentication
- Task CRUD operations
- Task status management (Pending, In Progress, Completed)
- Responsive design
taskflow/
├── frontend/ # Vue 3 Frontend
│ ├── src/
│ │ ├── api/ # API requests
│ │ ├── views/ # Page components
│ │ ├── components/ # Reusable components
│ │ ├── stores/ # Pinia stores
│ │ ├── router/ # Vue Router config
│ │ └── App.vue
│ ├── vite.config.js
│ └── package.json
├── backend/ # Spring Boot Backend
│ ├── src/main/java/com/example/taskflow/
│ │ ├── controller/ # REST Controllers
│ │ ├── service/ # Business logic
│ │ ├── mapper/ # MyBatis mappers
│ │ ├── entity/ # Data entities
│ │ └── config/ # Configuration
│ ├── src/main/resources/
│ │ └── application.yml
│ └── pom.xml
├── sql/
│ └── init.sql # Database initialization
└── README.md
- Install MySQL
- Create database and import schema:
mysql -u root -p < sql/init.sqlcd backend
# Update database credentials in src/main/resources/application.yml
mvn spring-boot:runThe backend will start on http://localhost:8080
cd frontend
npm install
npm run devThe frontend will start on http://localhost:5173
- POST
/api/auth/register- Register new user - POST
/api/auth/login- Login
- GET
/api/tasks- Get all tasks for current user - POST
/api/tasks- Create new task - PUT
/api/tasks/{id}- Update task - DELETE
/api/tasks/{id}- Delete task
- Username: admin
- Password: admin123
MIT