git clone https://github.com/RuitaoWu/DBMS-Project.git
cd DBMS-Project
npm install
Database
- Before run the code make sure you have local database/schema named "dbms"
- Before run make sure you have user account "comp440"
- Execute the following SQL script if there has access denied SQL error
ALTER USER 'comp440'@'localhost' IDENTIFIED WITH mysql_native_password BY 'pass1234'
- User 'comp440' may occurs error if the privilege isn't sufficient
Crruent Feature(s)
- New User register
- log in
- log out
- Initialize the database table
- User can post 2 blogs per day
- User can only comment blog one time
- User can't comment his/her own blog
- Empty prevention
- Display user blogs with positive comment
- Display user(s) post most blog on 2020-10-10
- Display mutual leaderid of user X and Y
- Display blogs with tag X
- Display user(s) who never post comment