A front-end back-end separate system contains a web app and a NodeJS backend
Thesis management system helps the College of Information Engineering at Huangshan University to manage graduate theses of senior students.
This is a Vue web application with iView UI, Vue Router, and VueX.
- nginx needs to be installed
- need to run the backend system in another project at the same time
- available usernames are Student:21509081011~21509081013 Teacher:1,2; password is 123456
By default, you have understood and completed the instructions
git clone https://github.com/ChenhuaFan/Thesis-Management-System-Frontend.git
cd paper
npm install
npm run-script serve
Open your browser localhost:81 and you can use the login page.
Requests are forwarded via nginx. The front-end page requests are forwarded to port 8080 (another vue project); then the api requests are forwarded to port 3000 of the backend service (this system). This effectively solves the cross-domain problem.
- First, you need to install nginx; refer to https://www.cnblogs.com/jiangwangxiang/p/8481661.html
- Replace the /files/nginx.conf file with the local nginx configuration file. Refer to the link above. 3.
- Import the db.sql from the files folder into the local database; modify the configuration in /config/db.js to ensure that you can connect to the local database.
git clone https://github.com/ChenhuaFan/Thesis-Management-System-Backend.git
cd background_of_paper
npm install
npm run dev
- Fork this project
- Create a new Feat_xxx branch
- Submit the code
- Create a new Pull Request