In this repository, you will find the source code, database and instructions on how to run the created application. We have created a web-based application of the Canvas website.
- SQL
- Javascript
- HTML
- CSS
- Python
We used SQLite
, version 3 for this project. The schema for the database can be found in the ./database/create_db.sql
file.
The backend was implemented using Flask
API. This API utilizes the REST
API and transmits JSON
objects at the backend.
sqlite3
(for thedatabase
)python3
(for theserver API
)
Once the above requirements are met, install the required python
dependencies -
- flask
- datetime
- pytz
- re
- sqlite3
- Enter the correct directory -
cd database
- Create the database -
sqlite3 database.db
- Create the schema -
.read create_db.sql
- Populate the schema -
.read populate_db.sql
- Return -
.exit
cd ..
After populating the database, you will need to login as an admin to activate other users (student, teacher). As an admin, you will be able to check the default inactive users provided in the settings page.
Admin Account -
Username (Email ID) : admin1@uchicago.edu
Password : @password1
python3 api.py
The website can be found at the following address:
http://localhost:8080/
The same can be found here.
The video demonstration (walkthrough) on how to use the website, can be found here.