CSUY 3083 Team Project
members: Kelly Wu, Xuhang He, Zhenwei Zhan
What's done:
- part of the html files
- implement access to databases with role 'viewer'
- login
- added check for unique userID
- implement register (Done)
- implement search (Done)
- Implement return button and show the satisfied rows.
- setup index page (or change login page to index page) (Done)
- login failure: (Done)
- probably want to add a pop-up that says login failure?
- registration failure (Done)
- implement 'officer/employee' role (Done)
- these users can see the full table without any limitations
- however, they dont have the add/delete/update buttons/options
TODO:
- implement 'host' roles
- based on permission, each page should leave a concsole that could input sql commands and change tables
- For each table should allow insert, modify users
Testing: create new databses with XAMPP, import Criminal_Records.sql and usrs.sql. after that, input all the commands
Project Done and Presented in 04/24/2024
To do a demo:
- clone the repo
- in the repo, do: conda env create -f environment.yml
- conda activate db
- python server.py