Created
May 13, 2016 15:38
-
-
Save sirkirby/f0ab9c78ca922dcd6f485aa21debb948 to your computer and use it in GitHub Desktop.
Azure easy api app.js w express middleware
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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