GET to do list items for a specific group /item/:group_id
Schema:
id - PK integer not null
title - varchar not null
date_created - date UTC not null
date_due - date UTC
completed - boolean not null
group_id - FK integer not null
User:
Endpoints:
POST /user - creates a user
DEL /user/:id
PUT /user/:id - edit any attribute
POST /user/login - user login
GET /user - gets user session if cookie is present
Schema:
id - PK integer not null
email - varchar
password - varchar
first_name - varchar
last_name - varchar
To do list group:
Endpoints:
POST /group - creates a group
DEL /group/:id
PUT /group/:id - edit any attribute
GET /group/:user_id - get all groups associated with a user
Schema:
id - PK integer not null
email - varchar
password - varchar
first_name - varchar
last_name - varchar
To do list item: Endpoints:
Schema: id - PK integer not null title - varchar not null date_created - date UTC not null date_due - date UTC completed - boolean not null group_id - FK integer not null
User: Endpoints:
Schema: id - PK integer not null email - varchar password - varchar first_name - varchar last_name - varchar
To do list group: Endpoints:
Schema: id - PK integer not null email - varchar password - varchar first_name - varchar last_name - varchar