I'll set up the layout and leave the rest to you (nanjuxing concise background management system) Vue + Element background management system

πŸ’«πŸ’«πŸ’« Nanjuxing background management (concise version)

SpringBoot multi module + Vue concise background management system

preface

Why do you want to do this project? Because I mainly do java, I have been developing back-end interfaces in the process of learning to do projects πŸ–ŒοΌŒ Boring back-end development made me decide to develop the interface myself 🧐.

vue end learning has been going well πŸ€—οΌŒ Until I decided to build the backstage myself.. I found that the layout of the page end, the layout of the side menu and the design of the top history menu made me cry 😭, I started turning to open source projects

Looking at the preview of the open source project, it's really great. I want to use it!!! πŸ‘ But what the hell is npm install Error πŸ‘€οΌŸοΌŸ After thousands of hardships, I finally pulled down my dependence!! πŸ˜„ But this code is a lot! So many js! It's so serious! Do not understand πŸ€”!!! Finally, you choose to find a concise background management interface! πŸ₯Ί

Yes, what I want to say is that I am the concise background management interface you are looking for 😎. We built the sidebar, breadcrumbs, and the top history menu. All the remaining interfaces are designed by you 🀠, To complete your own work.

If my project can help you, please light up a small star 🌟🌟

directory structure

Project address: GItee: https://gitee.com/duan_nan/nanjustar-template
🌟🌟🌟 Nanjusatr admin is our front-end project. 🌟🌟🌟

⭐ ️ ⭐ ️ ⭐ nanjustar is our back-end project. ⭐ ️ ⭐ ️ ⭐ ️

🌈🌈🌈 nanjustar.sql is the database file we need to use. The database needs to use MySql 8 or above. 🌈🌈🌈

β˜€οΈβ˜€οΈβ˜€οΈ After we directly pull the project to the local, we only need to make a simple configuration to start it. β˜€οΈβ˜€οΈβ˜€οΈ

Database:

Create a new database in the local nanjustar(You can also change the name according to your own needs, and then run nanjustar.sql File.

Backend configuration:

1. Database configuration
  We entered nanjustar-mapper Module, find application-mapper.yml Configuration file for configuration modification,modify the database url To the database location, modify username and password. 
  
2. Redis to configure
  We entered nanjustar-business Module, find application-bussiness.yml	Modify the configuration file reids To the host name, modify it to yourself redis Yes.

Front end configuration:

Front end projects only need to be executed npm install or cnpm install that will do

✨✨✨ After the front and rear end projects are started, we have two users, nanjustar/123456 (super administrator) and admin/123456 (administrator). The super administrator has the permission to manage the directory, but the administrator does not, so their front-end sidebar menus are different. ✨✨✨

Back end project structure:

β”œβ”€β”€nanjusatr	    --  --   -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --  nanjustar Parent project
		β”œβ”€β”€ nanjustar-api     	  --  -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --  nanjustar-api modular
    		β”œβ”€β”€ src
						β”œβ”€β”€ java
									β”œβ”€β”€ moudle
												β”œβ”€β”€ security  						    -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --  Authority module
																β”œβ”€β”€ api  							-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --  Service interface
																β”œβ”€β”€ dto 			    -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --  dto Data return class
																β”œβ”€β”€ model					  		-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --  Entity class
																β”œβ”€β”€ vo  					-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --  vo Parameter receiving class
						β”œβ”€β”€ resource
									β”œβ”€β”€ application-api.yml        -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --  api Module profile
				β”œβ”€β”€ pom.xml
		β”œβ”€β”€ nanjustar-business          --  -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --  nanjustar Business module
    			β”œβ”€β”€ src
							β”œβ”€β”€ java
									β”œβ”€β”€ business              -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --  Business implementation class
									β”œβ”€β”€ config								-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --  Configuration class
									β”œβ”€β”€ filter								-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --  Filter package
									β”œβ”€β”€ handler								-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --  Processor package
									β”œβ”€β”€ util 									-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --  tool kit
							β”œβ”€β”€ resource
											β”œβ”€β”€ application-business.yml  -- -- -- -- -- -- -- -- -- -- -- -- --  business Module profile
						β”œβ”€β”€ pom.xml      -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- nanjustar Business module  Pom file
		β”œβ”€β”€ nanjustar-common     -- -- --  -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --  nanjustar Common module
						β”œβ”€β”€ src
								β”œβ”€β”€ java
											β”œβ”€β”€ annotation				 -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --  Annotation package
											β”œβ”€β”€ aop                -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --  Cut bread
											β”œβ”€β”€ config             -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --  Configuration package
											β”œβ”€β”€ constant            -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- Constant package
											β”œβ”€β”€ core	             -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --  Basic package
											β”œβ”€β”€ enums							 -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --  Enumeration package
											β”œβ”€β”€ exception			-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --  Custom exception package
											β”œβ”€β”€ result				-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --  Unified result set package
											β”œβ”€β”€ utils							 -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --  tool kit
								β”œβ”€β”€ resource		
												β”œβ”€β”€ application-common.yml
						β”œβ”€β”€ pom.xm   -- --  -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --  nanjustar Common module Pom file
		β”œβ”€β”€ nanjustar-mapper     -- -- --  -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --  nanjustar Data module
						β”œβ”€β”€ src
								β”œβ”€β”€ java
    									β”œβ”€β”€ config	                    -- -- -- -- -- -- -- -- -- -- -- -- -- -- --   Database configuration
    									β”œβ”€β”€ handler		               -- -- -- -- -- -- -- -- -- -- -- -- -- -- --   handler processor
    									β”œβ”€β”€ mapper		                -- -- -- -- -- -- -- -- -- -- -- -- -- -- --   *.Mapper Interface
								β”œβ”€β”€ resource	
												β”œβ”€β”€ mapper          -- -- -- -- -- -- -- -- -- -- -- -- -- -- --  mapper.xml Storage location
       		 							β”œβ”€β”€ application-mapper.yml     	  - -- -- -- -- -- -- -- --  nanjustar Data module profile
       		 β”œβ”€β”€ pom.xml -- --  -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --  nanjustar Data module  Pom file
		β”œβ”€β”€ nanjustar-web     -- -- --  -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --  nanjustar-wen modular
				β”œβ”€β”€ src
						β”œβ”€β”€ java
									β”œβ”€β”€ controller         -- -- -- -- -- -- -- -- -- -- -- -- -- -- --  nanjustar controller
									β”œβ”€β”€ NanjustarApplication.java           -- -- -- -- -- -- -- -- -- -- --  nanjustar Main startup class
						β”œβ”€β”€ resource
									β”œβ”€β”€ application.yml     -- -- -- -- -- -- -- -- -- -- -- -- -- -- --  nanjustar-web configuration file
									β”œβ”€β”€ application-dev.yml -- -- -- -- -- -- -- -- -- -- -- -- -- -- --  nanjustar-web configuration file
				β”œβ”€β”€ pom.xml    -- -- --  -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --  nanjustar-web  Pom file
				
β”œβ”€β”€ pom.xml	    -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --  nanjustar Parent project Pom file

Front end project structure:

nanjustar-admin
			β”œβ”€β”€ public   
						β”œβ”€β”€ js              -- -- -- -- -- -- js folder
								β”œβ”€β”€ lottie.js   -- -- -- -- -- --  animation js
						β”œβ”€β”€ favicon.ico     -- -- -- -- -- -- Logo Icon
						β”œβ”€β”€ index.html      -- -- -- -- -- -- index.html  
			β”œβ”€β”€ src
					 β”œβ”€β”€ api							-- -- -- -- -- -- api Interface directory
					 β”œβ”€β”€ assets						-- -- -- -- -- -- Static resource directory
					 β”œβ”€β”€ component				-- -- -- -- -- -- Component directory 
					 β”œβ”€β”€ layout						-- -- -- -- -- -- Layout directory
					 β”œβ”€β”€ router						-- -- -- -- -- -- Routing directory
					 β”œβ”€β”€ store						-- -- -- -- -- -- Cache directory  
					 β”œβ”€β”€ utils						-- -- -- -- -- -- Tool catalog
					 β”œβ”€β”€ views						-- -- -- -- -- -- Interface directory
					 β”œβ”€β”€ App.vue					-- -- -- -- -- -- App.vue
					 β”œβ”€β”€ main.js					-- -- -- -- -- -- main.js
		  β”œβ”€β”€ babel.config.js
		  β”œβ”€β”€ package.json				  -- -- -- -- -- -- package.json  
		  β”œβ”€β”€ package-locak.json
		  β”œβ”€β”€ vue.config.js					-- -- -- -- -- -- vue.config.js

Project characteristics

  • For back-end development, refer to "ruoyi open source project" and "Fengyu personal blog" for development.
  • The background uses "element admin" design, sidebar, history label, automatic generation of bread crumbs, etc.
  • The foreground menu route is obtained and rendered according to the permission level of the login user through database query, so as to realize the permission level.
  • lottie animation is used in the login interface, which greatly improves the beauty of the project.
  • The background interface only develops the welcome interface, leaving enough space for users to carry out secondary development.
  • The front-end code level is simple without serious encapsulation, which is convenient for later developers to read and expand development.
  • The code follows Alibaba's development specifications, the code is neat and convenient for secondary development.

Operating environment

development toolexplain
IDEAJava development tool IDE
WebStormVue development tool IDE
NavicatMySQL remote connection tool
MedisRedis remote connection tool
development environment edition
JDK1.8
MySQL8.0.25
spring-Redis2.5.5
Vue2.6.11
Vex3.4.0

Project screenshot

Tags: Java Front-end Vue.js

Posted on Sat, 20 Nov 2021 00:55:29 -0500 by ameen