Twitter bot that tweets spaghetti. Follow @dontbeupsetti.
Initialize repo
git init
Add node .gitignore (source)
git config core.sparseCheckout true
//windows
echo github/gitignore/Node.gitignore > .git/info/sparse-checkout
//non-windows
echo 'github/gitignore/Node.gitignore' > .git/info/sparse-checkout
//retrieve only one file
git remote add -f origin https://github.com/github/gitignore.git
git pull origin master
Install node (includes npm).
Create a folder and create a new app with a package.json.
mkdir appname
npm init
...without selecting options
npm init -y
Istall packages and update dependencies for each.
npm install <package-name> --save
Install heroku and create account.
Login...
heroku login
Go to location of app
heroku apps: create <same-appname>
- heroku - cloud hosting for scalable apps
- node.js - network library
- npm - package manager
- twit - twitter API client
- twitterbot - twitter bot wrapper
- cheerio.js - lean JQuery library for npm
- big-json - JSON streaming for large JSON objects
- pexels-api-wrapper - API for Pexels images
- pixabayjs - API for Pixabay images
- giphy - API for GIPHY gifs
- node-postgres - API for Postgres database