Skip to content

Instantly share code, notes, and snippets.

@sirkirby
Created May 13, 2016 15:38
Show Gist options
  • Save sirkirby/f0ab9c78ca922dcd6f485aa21debb948 to your computer and use it in GitHub Desktop.
Save sirkirby/f0ab9c78ca922dcd6f485aa21debb948 to your computer and use it in GitHub Desktop.
Azure easy api app.js w express middleware
var express = require('express'),
azureMobileApps = require('azure-mobile-apps'),
bodyParser = require('body-parser'), // npm install body-parser --save
multer = require('multer'); // npm install multer --save
// Set up a standard Express app
var app = express();
app.use(bodyParser.json()); // for parsing application/json
app.use(bodyParser.urlencoded({ extended: true })); // for parsing application/x-www-form-urlencoded
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment