Skip to content
a simple library admin system
Vue Java JavaScript TSQL CSS HTML
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
back-end/mandarin
digit
front-end/mandarin_admin
images
sql_files
apis.md
backend_apis.md
readme.md

readme.md

admin module for mandarin library

it's a simple web project use vue-cli and spring booot

front-end :Huaiyu Gong
back-end :floatinjianghu

functions

  • login in/out
  • register new librarian
  • edit/delete librarian
  • set/modify fine value
  • set/modify book return value
  • set/modify reader deposit value
  • obtian librarian password
  • change admin password

  • release 2

origin

  • searching libarain account
  • setting book fine value

now

  • searching librarian account

  • setting book information

  • obtaining librarian password

  • setting readers's deposit

  • ralease 3

oringin

  • obtain librarian password
  • setting reader's deposit
  • change admin password

now

  • change password

How to run

addtional remarks

front-end port:8001 back-end portt:8080 (请注意这两个端口有无被占用)

front-end
  1. install node(推荐使用nvm)
    • windows 安装nvm
    • 安装node(v12.10.0)
    nvm install 12.10.0
    • 使用node(v12.10.0)
    nvm use 12.10.0
  2. run the front-end project 进入front-end项目根目录:/front-end/mandarin_admin
    npm install
    npm run server
  • ps:若npm install较慢,请切换到淘宝源
  • pss:对于nvm出现无法安装的问题:请在nvm的setting.txt中添加淘宝源
back-end(本模块只涉及到admin后端,数据库与已有数据库不一致)
  1. 环境准备:
  • mysql 5.6/5.7
  • 安装idea(可学校邮箱认证)
  • tomcat 8.5
  • jdk 1.8

2.项目运行:

  • 数据库
    • 数据库命名:mandarin
    • 用户名:root
    • 密码:root
      (或者按照自己电脑本身的mysql用户名密码,但要在application.properties里面修改配置文件)
  • 配置idea的tomcat,jdk
  • 导入项目后
    • 点击idea最右边菜单栏中的maven,分别点击clean:clean→install:install→springboot:run
    • (或者:点击idea下方terminal依次输入以下命令行:
mvn clean
mvn install
mvn spring-boot:run

完成上述步骤后,接口即可使用。

the GUI

login

avatar

home

avatar

fineValue

avatar

mangeLirarian

avatar

TODOS

  • resolve error
    • token超时
    • 数据的双向绑定
  • test
You can’t perform that action at this time.