Skip to content

get-stackable/stackable-nodejs-boilerplate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

A boilerpate to create sites using Expressjs and Stackable API

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published