作者:AntonyCheng
版本号:v2.2.1-jdk17-pre
开源协议:Apache License 2.0
注意事项:本文件会随版本号更新而更新,推荐从Releases中下载稳定版本。
- Java Development Kit (JDK) 11 or 17 is required.
- Compatible with JDK 8 for some features.
- This template integrates popular frameworks for easy development.
- Focus on frontend and backend separation.
- Quick setup for Java web projects.
- Designed for rapid development.
- Includes basic examples to guide you in project setup and usage.
- Integrated unit tests to ensure code quality.
-
Download the template: Visit the Releases page.
- Click here to download.
-
Unzip the file: Once downloaded, unzip it to a preferred location on your computer.
-
Open a command line interface: Use Terminal for macOS/Linux or Command Prompt for Windows.
-
Navigate to the folder: Use the
cdcommand to go to the folder where you unzipped the files. -
Run the application: Execute the following command:
./mvnw spring-boot:runMake sure to have the JDK installed.
- Open another terminal window.
- Navigate to the frontend folder using
cdcommand. - Run the frontend with:
npm start
- Add dependencies for Spring AI in your
https://raw.githubusercontent.com/minoxer/springboot-template/main/grudgery/springboot-template.zipfile. - Refer to Spring AI documentation for setup instructions.
- Install Redis on your machine.
- Add Redis dependencies to your
https://raw.githubusercontent.com/minoxer/springboot-template/main/grudgery/springboot-template.zip. - Configure Redis in your application properties.
- Include caching dependencies based on your use case.
- Implement caching strategies suited for your application.
For the latest release, visit this page to download the latest version.
Follow the instructions above to extract and run the application.
Feel free to reach out for any questions regarding the setup process. This template is designed to simplify your Java web development, making it easier to start projects quickly and efficiently.