Skip to content

Latest commit

 

History

History
28 lines (20 loc) · 1.08 KB

README.md

File metadata and controls

28 lines (20 loc) · 1.08 KB

neo4j-express-heroku-sample

This sample shows how to bootstrap a sample Neo4j project on Heroku using Node and Express.

The Heroku Neo4j add-on used for this example is a free GrapheneDB instance, but other options are available.

Usage

Run locally

  1. Download, setup and start a Neo4j instance
  2. Clone this repository
  3. Create a .env configuration (see .env.sample for a reference)
  4. Install dependencies: npm install
  5. Start your local express instance: npm start
  6. Launch: http://localhost:3000

Deploy to Heroku

This assumes that you have a working Heroku account and and the Heroku CLI tools installed.

  1. Clone this repository
  2. Create a new Heroku app: heroku create
  3. Add a GrapheneDB Neo4j instance: heroku addons:create graphenedb:chalk
  4. Push repository to Heroku: git push heroku master
  5. Launch: heroku open

License

MIT