A barebones Node.js app using Express 4 and Stackable API
Make sure you have Node.js installed.
The easiest way to get started is to clone the repository:
# Get the latest snapshot
git clone --depth=1 https://github.com/stackable/stackable-nodejs-boilerplate myproject
# Change directory
cd myproject
# Set stack Private Key
Paste in your Stack's private key in `config/main.js`
# Install NPM dependencies
npm install
npm start
Your app should now be running on localhost:5000.
Easiest solution to deploy your app is https://www.heroku.com/
If you are using Heroku first time sign-up for an account and follow this tutorial to setup nodejs app.
heroku create
git push heroku master
heroku open