This project is a web application which enables users to comment and rate university courses and professors. The frontend is implemented with JavaScript Vue framework, while the backend server is implemented with Java Spring Boot and MyBatis frameworks. A relational MySQL schema is used for the database of the server.
Click here for a Chinese version of README file. 项目的中文介绍请点击这里.
For how to launch the project locally, please scroll to the bottom.
- Show course and professors' introductions in a sliding window (carousal) format
- Show users' evaluations about courses and professors in a sliding window (carousal) format
- Users sign up and log in
- Show username and welcome message on the header
- Make comments about courses and professors
- Show comments they made about courses and professors in a "sliding card" format
- Log in and Log out
- With a web graphical interface,
- View all data;
- add and delete some data in the database with a graphical web interface
- SpringBoot
- MyBatis (with mybatis generator)
- Vue
- vue-router
- axios
- vuex
- ElementUI
-
Java: 16.0.1 2021-04-20
-
MySQL:Ver 8.0.25 for macos11 on x86_64
-
node:v12.4.0, npm: 6.9.0
-
IDE:IntelliJ IDEA 2021, VSCode
git clone https://github.com/yutianw00/RateMyCourse.git
Create a new schema, and run the script admin.sql
in proj-server/src/main/resources/application.properties
file, set the following:
spring.datasource.url=jdbc:mysql://localhost:3306/your-schema-name
spring.datasource.username=your-username (e.g. root)
spring.datasource.password=your-password
under the proj-admin
folder, type command
npm install
Similarly, under the proj-client
folder, type command
npm install
if an error occurs during the above step, make sure the node version is the same as shown above. The version info can be check via command npm --version
and node --version
.
in CLI, cd into proj-server
folder and run
./mvnw spring-boot:run
cd into proj-client
folder and run
npm run dev
cd into proj-admin
folder and run
npm run dev
Yutian.W, 2022