Prehistoric most complete SpringBoot framework of the project

Hello everyone, I am a "snail Dream", you can reply "Java Data" in the background No public access to information skills upgrading, is absolutely dry.

Benefits come, give us a benefit.

Recent would like to know about Spring Boot open source project, read a lot of open-source framework, most of them are demo or an unformed project, the basic functions are incomplete, especially in terms of user rights and menu hardly complete.

I think the framework to do before, which is common modules: user module, the module permissions, menu modules, function modules are complete, and each function is complete.

For the above, I intend to share out the framework for all to use and learn.

Why use frameworks?

The frame can learn the whole process mode, you can use the full user rights module, can help beginners better initial learning.

Framework features:

1. Lightweight: Spring is lightweight, basic version is about 2MB.
2, Inversion of Control: Spring Inversion of Control achieved by loosely coupled, objects are given their dependencies instead of creating them or find dependent objects.
3, aspect-oriented programming (AOP): Spring support aspect-oriented programming, and to separate the application business logic and system services.
4, container: Spring contain and manage the objects in the application life cycle and configuration.
5, MVC framework: Spring WEB framework of a well-designed framework, is a good alternative to Web framework.
6, transaction management: Spring provides an ongoing transaction management interface can be extended to up to lower local transaction to a global transaction (JTA).
7, exception handling: Spring API provides a convenient technique related to specific abnormalities (such as a JDBC, Hibernate or JDO thrown) into uniform unchecked exceptions.

Let us make the following description of the open-source framework for the description:

A little background knowledge School Management System public concern number, into the group, discuss



A little more knowledge is an online college course materials management system (is supported on the side of the phone app), project uses SpringBoot + JPA + easyui development.

Project Address Github: github.com/ProceduralZ...

You can download the source code directly Gitbhub start the project. Do not understand can see Features, or public concern number of "workplace program" plus group AC

Originally planned to project up and running online for small partners view the preview, but the server has several other projects in operation, can not be suspended, since it has been insufficient memory space of the project, so little friends can only look at the following screenshots, and the end of this tutorial will be deployed, the deployment to the local can also view the full effect. (If necessary: ​​public contact number in the plus group I)

Foreword

The entire project more functional, but also more complex, multi-phase development, has the basic functions have all been done, some of the features to be optimized, the other modules are still planning. Given the current function is already available, while the inside of rights management, menu management, user management, can be used for any project requirements, the rights management is pain point for many students, so will this project advance open source for small partners research.

App provides end interface has been completed, ongoing app development side. . .

It should be noted that, given the user permission template is a very independent template, so separating out alone, to be used as a library project, so there are two projects package that system-core-college introduced into onepoint_college as a library file use.

There is little need partners can be used to directly learn and use, have any questions for instructions.

So what is suitable for people to use and learn?

  1. Java beginners, this is a good learning framework that lets you learn the whole process

  2. Java has some experience (except cattle), but until the work has been done along the way, this framework is more suitable, you can make your own for a deeper understanding of the framework, you can always upgrade and optimization

  3. Students, graduates have not wanted to look at the Java project and through a deeper understanding of the magic of Java, run up the project, a certain sense of accomplishment.

  4. Other language translations of the Java language directly used to use like

In addition, the project also constantly updated, small partners by focusing on the number of public   programs in the workplace    for the latest updates View the latest complete recording functions.


Invitation card

The project still need to improve some features, new demand is also planned, little friends are welcome to put forward good suggestions, I would term as an upgrade framework, good advice we will show mentioned in the README!

overall effect

1, the system menu

(1) First, a different user after successful login, depending on the role, configure different menu item, you will see a different system menu, full menu as follows:



After different user logs on, see different menu items.

2 , User Management

(1) show background information administrator, can add, delete, edit administrator information, users do not need to: disabled, you can also do: enable, reset the password operation


New background administrator user can select different privilege levels: super administrator, an administrator and secondary administrator

Editing Administrator Information

3 , data editing

(1) for the maintenance project fixed data display and editing, you can head menu: add, edit, delete

4 , version upgrade

(1) to develop android app end end versions of the upgrade, you can add, edit, and delete

5 , rights management

(1) Configure user-level permissions can be configured with different menus for different levels of user permissions, there are: Super administrator, an administrator and secondary administrator

6 , menu management

(1) Product Data Management Project menu, according to the needs of different projects to add, delete, edit, etc.

7 , types of knowledge

Curriculum resource classification (1) app end, the current provisions of four main classification, courseware knowledge, the path of knowledge, knowledge boutique series, popular knowledge. Can add, delete, edit

8 , knowledge courseware

Courseware classification (1) Knowledge of curriculum knowledge, can add, edit, delete categories, and can add a sub-class

9 , the Knowledge

Knowledge path (1) classification of curriculum knowledge, can add, edit, delete categories, and can add a sub-class


10 , fine series of knowledge

Boutique Series Knowledge Classification (1) knowledge of the course, you can add, edit, delete categories, and can add a sub-class


11 , popular knowledge

Popular knowledge classification (1) knowledge of the course, you can add, edit, delete categories


12 , selection of courses

(1) Featured course is the most professional and most symbolic curriculum resources, you can add a child class, functions include add, delete, edit.


13 , message dynamic

(1) show some system messages issued by the system, or new and changed messages and other resources, end user app display, functions include add, delete, modify.

14 , Home Feeds

(1) show some system messages issued by the system, or recommended video, best video resources, end user app display, functions include add, delete, modify.


15 , Feedback

(1) to collect opinions of customers optimize encountered in the app and use the feedback to help end views, and so on.

Technology stack

Back-end technology stack

1.SpringBoot
2.jpa
3.MySQL

Front-end technology stack

1.easyui

There are other trivial technique will not list them, will be in the form of knowledge points to explain in detail.

Project deployment

1. Under the project to the local Github github.com/ProceduralZ...

2. The database script in onepoint_college project src / main / under webapp / file directory, execute script in MySQL database or can be directly imported

3. Database configuration in the project's resources directory onepoint_college application.properties file

4. Run onepoint_college project in eclipse

OK, here , the server started successfully, and this time we are directly in the browser address bar, enter http: // localhost: 8080 / onepoint_college / manager / home / login.html

to visit at this time to the project, if you want to do secondary development, adjustment directly on the basis of the line, are not affected .


Note that, it is noted noted that the front end (app side) corresponding to the update is still behind will continue to open App, applets, and other mobile terminal Flutter source. (Remember to focus on me oh)

File

Document is a detailed record of some of the problems encountered during the project development, mainly to help small partners not based on a quick understanding of the project.

1.Spring Boot (a) acquaintance Spring Boot frame
2.Spring Boot (two) Spring Boot basic configuration
3.Spring Boot (c) the principle Spring Boot automatically configured
4.Spring Boot (four) Spring Boot web project development
5. Spring Boot (five) Spring Boot web development project (2) configuration
6.Spring Boot (six) Spring Boot web developers SSL configuration
7.Spring Boot (seven) Spring Boot Websocket
8.Spring the Boot (eight) Spring Boot Websocket achieve chat
9.Spring Boot (nine) Spring Boot Bootstrap and AngularJS use
10.Spring Boot (ten) Spring Boot use JPA


Although the framework of the project has been basically completed, but, but, but also the development of some of the problems the lack of finishing, can not wait to share with you, in advance of open source for everyone to use, if in doubt add a number of public programs in the workplace into the group.

other information

No public attention the program in the workplace , focusing on the front end of the frame (flutter) app mobile side, applets, Spring Boot + micro-services regularly share articles, follow-up regularly update the video, after concerns reply Java data, collect dry goods carefully prepared for you!

A dedicated programmer workplace



ok, the basic framework of the project finished, if there is little doubt that partners can focus on the public number  procedure workplace  plus group, we progress together

Project Download:

github.com/ProceduralZ…


Guess you like

Origin juejin.im/post/5dbbbb496fb9a0206f47c5a0