Parse Server Azure Config
A package to simplify configuration of parse server on azure managed services.
Exports an object with default configurations for storage, push, server, and dashboard.
let config = require('parse-server-azure-config');
let ParseServer = require('parse-server').ParseServer;
let ParseDashboard = require('parse-dashboard');
let express = require('express');
let options = {
defaults: 'config.js',
secrets: 'secrets.js'
}
let {
server,
storage,
push,
dashboard
} = config(__dirname, options);
let app = express();
app.use('/parse', new ParseServer(server));
app.use('/parse-dashboard', ParseDashboard(dashboard));
app.listen(process.env.PORT);