This is a flask to do list API
- Create task
- View task/tasks
- Update tasks
- Delete tasks
Run this simple command: pip install -r requirements.txt
- Clone the repository:
git clone https://github.com/KayongoYongo/PP-Flask_to_do_List_API.git
-
Create the database in SQL using the command
CREATE DATABASE IF NOT EXISTS your_database_name;
-
Run the script
createDatabase.py
to create the tables by typingpython createDatabase.py
. -
Navigate to the apps directory and run this command:
python app.py
-
To run the website, copy this link onto the browser:
http://127.0.0.1:5000/
To restore the dump file, use this command mysql -u username -p database_name < dump_file.sql