Add foreman configuration for Heroku:
- To test production configuration execute NODE_ENV=production foreman
start
- Database connection configuration now handles "use_env_variable" which
should be defined as a environment variable such as "DATABASE_URL"
with a proper database URI connection string, ie:
postgres://user:password@db.example.com:5432/database
- Added package.json configuration to run migrations and db seed after
`npm install`
Update frontend models to match sequelize definition.
Update views to work according to the changes above.
Handling isCompleted and parentId apropiately for PostgreSQL databases
Added orm module to abstract Sequelize usage to some degree. ORM module
handles the configuration and instantiation of Sequelize. Models are
defined and instantiated from models/*
Tested only against SQLite.
Faily new to nodejs so I probably messed up with something.