Skip to content

Front-end Vue + back-end Spring Boot completely separated user role admin template

License

Notifications You must be signed in to change notification settings

Zoctan/spring-boot-vue-admin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

52 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Spring Boot Vue Admin

Provides a set of background permission management templates that separate the front and back ends.

stars license

English | 简体中文

Front-end ideas reference "Hand touch, take you to use vue to touch the background series II (login authority)", the template comes from [vue-element-admin](https: //github.com/PanJiaChen/vue-element-admin), other functions can be expanded according to this project.

Back-end ideas reference "Role-Based Access Control New Solution", the template comes from spring-boot-api-seedling, please see the api's README for design ideas.

Note: Since the front-end has not been updated for several years, there are loopholes and outdated versions. If necessary, please refer to the new project written in Vue3: admin-vue3-template

Welcome friends to star and issues ~ thank you :)

Preview

role list

role manage

user manage

user role manage

Dependency version

frontend version
node 8.16.1
npm 6.4.1
backend version
SpringBoot 2.1.6

Quick start

# clone project
git clone https://github.com/Zoctan/spring-boot-vue-admin.git

# go to project
cd spring-boot-vue-admin

# go to backend
cd api

# import database sql files (Remember to modify the database information)
sudo chmod a+x resetDB.sh && ./resetDB.sh

# start the backend ...

# go to frontend
cd app

# install dependency
npm install

# start the frontend ...
npm run dev

Problem solve

no such file/ansi-styles/css-loader

npm ERR! enoent ENOENT: no such file or directory, rename '/workspace/spring-boot-vue-admin/app/node_modules/.staging/css-loader-b931fe48/node_modules/ansi-styles' -> '/workspace/spring-boot-vue-admin/app/node_modules/.staging/ansi-styles-6535fafb'

please install css-loader firstly: npm install css-loader, and install project dependency secondly: npm install.

Update log

2019-10-16 The webpack version is rolled back, and there is no time to fix the new version. Update the discovered issues and add services exactly according to the backend template spring-boot-api-seedling.

~~2018-06-10 Redis is removed because Redis is mainly used as a cache database, but it does not play much role in this project. Note that if you need to make the token invalid during logout, you need to use Redis together, you can add it according to the backend template. ~~

About

Front-end Vue + back-end Spring Boot completely separated user role admin template

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published