/acgtweet-node

A fun project to try out using node/express and heroku.

Primary LanguageJavaScript

ACGTweet-node

Requirements

  • node > 4.2.1 (must support es6).
  • npm (installed with node)

Installation

  • To install the web api npm install
  • To run tests npm install mocha -g

Development

  • To start the app locally node index.js==npm start
  • or to watch and hot reload: nodemon index.js. You may need to npm install -g nodemon.

useful psql commands

  • \list list all databases
  • \dt list all tables in the current database

Heroku debugging

  • heroku pg:psql --app acgtweet-node connect to psql remotely.