taejin5314 / LHL-midterm-project

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Smart TODO List

Smart TODO List is an app that auto-categorizes any tasks you enter into one of 5 categories so that you don't have to!

Categories

  1. Films
  2. TV Series
  3. Books
  4. Restaurants and Cafes
  5. Shopping and Other

** Note: As of first release, only these 5 categories are supported. **

Final Product

Login Page

login

Registration Page

registration

All Tasks Page

allTasks

All Tasks - Category Page

allTasksCategorized

Individual Category Pages

categoryTasks

Add Task

addTask

Edit Task

editTask

Edit Category

editCategory

Complete Task

completeTask

Delete Task

deleteTask

Complete List

completeList

Getting Started

  1. Create the .env by using .env.example as a reference: cp .env.example .env
  1. Update the .env file with your correct local information
  • username: labber
  • password: labber
  • database: midterm
  1. Install dependencies: npm i
  2. Fix to binaries for sass: npm rebuild node-sass
  3. Reset database: npm run db:reset
  • Check the db folder to see what gets created and seeded in the SDB
  1. Run the server: npm run local
  • Note: nodemon is used, so you should not have to restart your server
  1. Visit http://localhost:8080/

Warnings & Tips

  • Do not edit the layout.css file directly, it is auto-generated by layout.scss
  • Use the npm run db:reset command each time there is a change to the database schema or seeds.
    • It runs through each of the files, in order, and executes them against the database.
    • Note: you will lose all newly created (test) data each time this is run, since the schema files will tend to DROP the tables and recreate them.

Dependencies

  • Node 10.x or above
  • NPM 5.x or above
  • PG 6.x
  • Express
  • Node-sass-middleware
  • EJS
  • Morgan
  • Chalk
  • bcrypt
  • body-parser
  • cookie-session
  • pg
  • pg-native
  • superagent
  • yelp-fusion
  • omdb-client
  • google-books-search

About


Languages

Language:JavaScript 61.1%Language:EJS 23.2%Language:SCSS 15.5%Language:Shell 0.1%