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!
- Films
- TV Series
- Books
- Restaurants and Cafes
- Shopping and Other
** Note: As of first release, only these 5 categories are supported. **
- Create the
.env
by using.env.example
as a reference:cp .env.example .env
- Important - Please acquire API Keys for the following APIs and enter in your .env file with the following names:
- OMDB_API_KEY - OMDB
- YELP_API_KEY - Yelp Fusion
- GOOGLE_API_KEY - Google Books API
- SERP_API_KEY - Google Search API - SERP API
- Update the .env file with your correct local information
- username:
labber
- password:
labber
- database:
midterm
- Install dependencies:
npm i
- Fix to binaries for sass:
npm rebuild node-sass
- Reset database:
npm run db:reset
- Check the db folder to see what gets created and seeded in the SDB
- Run the server:
npm run local
- Note: nodemon is used, so you should not have to restart your server
- Visit
http://localhost:8080/
- Do not edit the
layout.css
file directly, it is auto-generated bylayout.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.
- 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