Skip to content

Latest commit

 

History

History
42 lines (26 loc) · 1.1 KB

File metadata and controls

42 lines (26 loc) · 1.1 KB

Stackable Nodejs boilerplate

A barebones Node.js app using Express 4 and Stackable API

Deploy

Getting Started

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.

Deployment

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