Designed and built a To-Do List App with client-side, server-side, and an SQL database
-
A front-end experience that allows a user to create and store tasks inside a database table and updates the DOM to display it as a new to-do item
-
Tasks have buttons to 'Complete' or 'Delete'
-
When a task is marked a completed:
- Its
isCompleteboolean value in the database table is updated toTRUE - When a task has been marked as completed a CSS class is applied to the task its "complete" button visibly appears grayed out
- Its
-
When a task is marked a deleted:
- It is removed from the database table
- The DOM updates task list without the deleted task
-
- Background color of the single page view is unique
- Font family and size are adjusted to please the eye
- Text or background color of Tasks indicate their status
- Runs the queries documented in
database.sql - Creates a
todostable and populates it with Tasks
- A task's text has data-testid = "toDoTextInput"
- New Task Button has data-testid = "submitButton"
- Rendered Tasks have data-testid = "toDoItem"
- HTML elements for tasks have ...
- Delete buttons have data-testid ="deleteButton" and are children of data-testid = "toDoItem"
- Complete buttons have data-testid ="completeButton" and are children of data-testid = "toDoItem"
- Colorize Creation, Completion and Delete Buttons
- Add Bootstrap styles to Task text inputs
- Responsive screen sizes
- Add Sweet Alert pop-ups as confirmations
- Add TIMESTAMP column to the Task table
