This project was implement as part of CS2102(Introduction to database) module that I took while in NUS. Our project topic was to emulate a student management system, with a locally deployed database. Our database of choice for this project is psql
, and the backend language used is Python Flask
.
- Joel Chang
- Clement Cheng
- Chan Jing Hong
- Fedrick
- There are at least 15 entity sets and relationship sets
- There is at least 1 weak entity set
- There is at least 3 non-trivial application constraints that cannot be cannot be enforced using column/table
constraints and must be enforced using triggers - There is at least 3 complex queries on data, with at least 1
Group By
orjoin
clause that produces 1 dangling tuple
- Python 3
- PSQL (Please refer to here on installation process for PSQL)
Go to the SQL
directory and run all the SQL queries on your PSQL server to set up the database.
Please remember to set the following into your PSQL server:
set timezone to 'GMT +8';
$ git clone https://www.github.com/joelczk/CS2102-Project
$ cd CS2102-Project
$ pip3 install -R requirements.txt
$ cd CS2102-Project
$ python3 start.py
- Students:
username: Any value from S00001
to S01000
password : password
- Professors:
username: Any value from P00001
to P00100
password : password
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.
To refer to a more detailed report, please refer to here