jvaz11 / express-json-base

A barebones Node.js app using the Express framework—a fork of heroku/node-js-sample.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

express-json-base

A barebones server using Express 4. A fork of node-js-sample. Use this to create a simple server to respond to HTTP requests (from webhooks or any other source) with JSON.

Running Locally

Make sure you have Node.js and the Heroku Toolbelt installed.

cd my-projects # cd into the directory you want to create the server in
git clone https://github.com/jvaz11/express-json-base.git
mv express-json-base my-project-name # [optional] rename your project from express-json-base to whatever you want 
cd my-project-name # cd into your project
npm install
npm start

Your app should now be running on localhost:5000.

Deploying to Heroku

heroku create my-project-name # replace "my-project-name" with whatever you want
git push heroku master
heroku open # your app will open in a new browser window

About

A barebones Node.js app using the Express framework—a fork of heroku/node-js-sample.


Languages

Language:JavaScript 100.0%