Objective:
I want to find an example of Springboot + bootstrap and then search for this open source project.
All the items that can be run have a research value and look at the documentation for this project. This is exactly what I want. Recommended
Body:
Open Source Project research: https://gitee.com/fuhoujun/e
Project Description:
Objective
The purpose of the E-framework is to allow development to be developed without starting from scratch, allowing developers to focus solely on their business functions.
Technical notes
- The framework adopts the design idea of micro-service, and the engineering is easy to be divided and easy to fit
- This frame is separated by front and rear, the front and rear stations can be deployed separately, and the front end is a lightweight flat design (Html+javascript+bootstrap) that automatically adjusts the page for different screen sizes, making it perform well on screens of all sizes.
- The backend uses spring boot, spring Cloud, and does not need to deploy the war file to run the jar file directly.
- The System permission framework adopts spring-security Oauth2 to realize the check of front and back permissions, and the permission realizes the user authorization and the client authorization.
- The persistence layer adopts JPA, which can adapt well to different database and realize the annotation dynamic query function.
- The data response should be in JSON format.
- The service is in restful form, can be conveniently connected with mobile app, integrated swagger can view RESTAPI document and online test service interface online
- Support Single Sign-on, can be multi-system menu integration, form a portal.
- Supports high concurrency and horizontal scaling, and supports unified storage for session.
- The project is built with Gradle and can be easily assembled on demand.
Building Notes
- Set up the JDK environment variable, the project needs JDK8, the project code and the database code all adopt UTF-8
- Output logs are garbled under Eclipse can be resolved by setting the log encoding in the Logback.groovy file under the project to UTF-8
- Project defaults to port 80, please check if Port 80 is occupied
- In order to demonstrate the convenience of the default database set to H2 database, the demo does not need to do any database related settings, follow the build instructions can be
- System Default User name password is admin 123456
- Actual can be set to MySQL, modify the resources\application.yml file database related settings for the actual value, the construction of the table data initialization will automatically
- Build video in detail to see the QQ group (e build)
Frame structure
Deployment examples
Eclipse
Run Gradlew Eclipse to generate Eclipse project directly in e directory, import e directory, run singleapplicationmain file under E-example-single project, enter http://localhost;
Multi-system start-up can start projects in the following order, preferably after the previous project starts and then starts the next project
- E-example-ms-db
- E-example-ms-discovery
- E-example-ms-upm
- E-example-ms-oauth2
- E-example-ms-log
- E-example-ms-demo
- E-example-ms-ui
- E-example-ms-gateway
Open Source Project Recommendation: E-example/springboot+bootstrap + ...