Skip to content

patrick-baker/to-do-list

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

51 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

To-Do-List

Description

Duration: Weekend Sprint

People become much more efficient when they are able to keep track of tasks that they need to complete. To-Do-List app allows a user to add tasks, and archive them in an organized fashion.

This project uses jQuery and AJAX requests, alongside node and a local postgresQL database to create a to-do-list application. The user can use the interface to input a task name, priority level, and notes which are sent through node to the database through an AJAX POST request, where the task is stored.

The tasks table is then retrieved through an AJAX GET request and shown on a table on the DOM. The user can delete each task with a the DELETE button through an AJAX DELETE request. This task is then removed from the database and the updated table is shown on the DOM.

Users can update the Priority and Status of each task by choosing the correct value in the dropdown of the chosen item on the table and clicking its Update button.

You can find the deployed version of this app here

Screenshots

Prerequisites

Installation

  1. Get to main project directory in command line, and type in npm install to install required dependencies.
  2. Create "weekend-to-do-app" database in host "localhost".
  3. Run commands from database.sql file in GUI to create table, in weekend-to-do-app database.
  4. Run npm start in the command line in the project repository.
  5. Type in localhost:5000 in your url bar in your browser.

Usage

  1. Enter Task Name, Priority, and Notes in the form field and press Submit.
  2. If you would like to change Priority of a task, change the dropdown of the Priority and press Update.
  3. If you would like to complete a task, change the dropdown of the Status to Complete and press Update.
  4. Press delete button if you want to delete a task from the table.
  5. If you want to archive a task, press the Archive button.
  6. You can switch between the Archived and Active views by clicking on your choice in the bottom right area of the header.

Built With

  • node.js
  • Express.js
  • jQuery
  • postgreSQL

Support

If you have any questions, feel free to email me at [email protected]


Where I want to go from here

  1. Continue Styling page, get header to center above table
  2. Add more styling to .completedTasks
  3. Add verification to the input boxes, and require choice of priority dropdown to prevent faulty input.
  4. Sort by each column in table by clicking on respective header.
  5. Archive completed tasks to seperate table upon archive button press

About

A to-do list utilizing jquery, node, and Postgres.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •