S2021R1OQM-2
1st project of software engineering II - service ticketing software
Group R1 Members:
- Paolo Cambria - s301164
- Marco Campusso - s290482
- Liu Dong - s274181
- Shantal Fabri - s294042
- Samuele Gigante - s290156
flask_sqlite
A Flask Application that demonstrates Flask-WTF and Flask-SQLAlchemy using a SQLite database.
Instructions
As always ensure you create a virtual environment for this application and install
the necessary libraries from the requirements.txt
file.
$ virtualenv venv
$ source venv/bin/activate
$ pip install -r requirements.txt
Start the development server
$ python application.py
Browse to http://127.0.0.1:5000
You can then add new users by browsing to http://127.0.0.1:5000/add-user and view a list of users by browsing to http://127.0.0.1:5000/users
To reset the users table, run the following SQL query:
DROP TABLE IF EXISTS users;
CREATE TABLE users (
id integer primary key autoincrement,
name string not null,
email string not null
);