We used html, css and and JS to design the frontend, the login page and different profile page for every user. We also used bootstrap a pre-designed CSS framework. Then for backend we used Flask. The database was made in mySQL
-
Install Python 3.10.9
-
Install MySQL 5.7 or better
-
Install the required packages for python:
bash pip install flask pip install flask-mysql
Run the above commands in the terminal in order to install the required packages.
-
Use the hostel Mnagaement Database created in assignment 1 and 2.
-
Following are the crediantials for each user present in script.js: js student - Username Password-123 admin - Username Password-123 caretaker - Username Password-123
-
Open the terminal and navigate to the directory where the 'init.py' file is located.
-
Run the following command in the terminal:
bash python init.py
Or you can simply click on the 'Run' button in your IDE for the 'init.py' file.
-
Open your browser and go to the URL that is displayed in the terminal, like this:
This brings home page of the webapp. Different pages open for different credentials
- Admin: He can view, edit, delete and filter in all tables
- Student: He can view only view all tables
- Caretaker: He can view all tables, but edit and delete entries in certain specific tables only. Also he can't add new data. Data addition can be done by admin only.
- Insert
- Update
- Delete
- Where (Filter)
- Delete Multiple Entries
Developed page for caretaker view, managed and resolved errors in the same. Teste and debugged the database and web app.
Worked on backend and integrating it with front-end. Helped in resolving errors and debugging in front end. Developed back-end function calls Integrated Google Authentication. Created defense against SQL attacks.
Developed the front end using HTML, CSS, and Bootstrap. Worked extensively on front-end, resolving errors, making HTML pages, and integrating Bootstrap, Javascript, Jquery, and Flask. Developed back-end function calls and worked on the integration of pages with the backend.
Worked in front-end form functions development Created README file and supervised work Worked on the backend and integrated it with the front-end. Developed back-end function calls.
Developed the frontend using HTML, CSS, and Tailwind CSS Worked extensively of front-end, resolving errors, making html pages, integrating bootstrap, Javascript, Jquery and Flask. Worked on the integration of pages with the backend
Worked on the backend and integrated it with the front-end. Developed back-end function calls Worked in front-end form development using HTML,CSS ans Tailwind CSS Contributed to README and supervised work
Worked on README file, helped in front-end function creations.