A modern, production-ready boilerplate for full-stack web applications using Vue.js 3 (with TypeScript) for the frontend, Spring Boot for the backend API, and MySQL for the database.
- Frontend: Vue.js 3 with TypeScript, Vite for fast development
- Backend: Spring Boot with Java
- Database: MySQL
- Authentication: JWT-based authentication
- File Upload: Support for file uploads
- RESTful API: Well-structured API endpoints
.
├── client/ # Vue.js frontend
├── server/ # Spring Boot backend
└── uploads/ # Uploaded files storage
- Node.js (v14+)
- Java JDK 11+
- MySQL
- Maven
- Create a MySQL database
- Update the database configuration in
server/src/main/resources/application.properties
cd server
./mvnw spring-boot:runThe backend will be available at http://localhost:4001
cd client
npm install
npm run devThe frontend will be available at http://localhost:4000
Build the JAR file:
cd server
./mvnw clean packageRun the JAR file:
java -jar target/server-0.0.1-SNAPSHOT.jarBuild for production:
cd client
npm run buildThe build artifacts will be stored in the client/dist/ directory.
MIT
Contributions are welcome! Please feel free to submit a Pull Request.