Skip to content
xuzhentao915Public

About

Vue 3 + Spring Boot 3 任务管理工具

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Latest commit

 

History

1 Commit

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

TaskFlow

A full-stack task management tool built with Vue 3 + Spring Boot 3 + MySQL.

Tech Stack

Frontend

  • Vue 3
  • Vite
  • Element Plus
  • Pinia (State Management)
  • Vue Router

Backend

  • Spring Boot 3
  • MyBatis-Plus
  • JWT Authentication
  • MySQL

Features

  • User registration and login
  • JWT-based authentication
  • Task CRUD operations
  • Task status management (Pending, In Progress, Completed)
  • Responsive design

Project Structure

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

Setup

Database

  1. Install MySQL
  2. Create database and import schema:
mysql -u root -p < sql/init.sql

Backend

cd backend
# Update database credentials in src/main/resources/application.yml
mvn spring-boot:run

The backend will start on http://localhost:8080

Frontend

cd frontend
npm install
npm run dev

The frontend will start on http://localhost:5173

API Endpoints

Authentication

  • POST /api/auth/register - Register new user
  • POST /api/auth/login - Login

Tasks

  • 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

Default Test Account

  • Username: admin
  • Password: admin123

License

MIT

About

Vue 3 + Spring Boot 3 任务管理工具

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages