To-do List App Documentation
- short_description
- long_description
- priority
- desired_completion_date (e.g. 2019-11-15)
- due_date (e.g. 2019-11-23)
- completion_status (bool: True or False)
- date_entered (set upon initial creation)
- email
- encrypted_password
- fname
- lname
- rowid (from users table, when authenticated)
- any temporary data
CREATE TABLE to_dos
(short_description VARCHAR(63),
long_description VARCHAR(255),
priority INTEGER,
desired_completion_date DATE,
due_date DATE,
date_entered DATE,
completion_status BOOLEAN);
CREATE TABLE users
(email VARCHAR(255),
encrypted_password VARCHAR(255),
fname VARCHAR(255),
lname VARCHAR(255));
Name |
HTTP Method |
Path |
List |
GET |
/todos |
Retrieve |
GET |
/todos/todoID |
Create |
POST |
/todos |
Create |
POST |
/users |
Create |
POST |
/sessions |
Replace |
PUT |
/todos/todoID |
Delete |
DELETE |
/todos/todoID |