ACGTweet-node
Requirements
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 tonpm 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.