Parse Server

1 min read Original article ↗

Transcript

  1. PARSE SERVER DREW GROSS GITHUB.COM/DREW-GROSS

  2. Parse SDKs

  3. Where do I get a Parse Server?

  4. HIT THE DEPLOY BUTTON

  5. ADD IT TO EXPRESS var app = express(); var api

    = new ParseServer({ databaseURI: 'mongodb://localhost:27017/meetupsParseApp', appId: 'yourAppId', masterKey: 'yourMasterKey', cloud: './cloud.js', serverURL: 'http://localhost:1337/parse', }); app.use('/parse', api); app.use('/dashboard', new ParseDashboard({ ... })); app.listen(1337);

  6. var api = new ParseServer({ databaseURI: 'mongodb://localhost:27017/meetupsParseApp', appId: 'yourAppId', masterKey:

    'yourMasterKey', cloud: './cloud.js', serverURL: 'http://localhost:1337/parse', verifyUserEmails: true, publicServerURL: 'http://my-site.com/parse', emailAdapter: { module: 'parse-server-simple-mailgun-adapter', options: { fromAddress: '[email protected]', domain: 'mailgun-domain', apiKey: 'mailgun-key', } } });

  7. Where do I get the Parse Dashboard?

  8. PARSE DASHBOARD $ npm install -g parse-dashboard $ parse-dashboard --appId

    yourAppId --masterKey yourMasterKey --serverURL "https://meetup-app.com/parse" The dashboard is now available at http://0.0.0.0:4040/ OR var express = require('express'); var ParseDashboard = require('parse-dashboard'); var app = express(); var dashboard = new ParseDashboard({ serverURL: "...", appId: "...", masterKey: "...", }); app.use('/dashboard', dashboard); app.listen(4040);

  9. SECURITY Class Level Permissions Pointer Permissions ACLs Cloud Code

  10. LIVE QUERY EVENTS create enter update leave delete

  11. SUBSCRIPTION EVENTS connect / reconnect disconnect error

  12. SERVER ARCHITECTURE

  13. SCALED SERVER ARCHITECTURE

  14. YOU ARE ALL SET! > github.com/ParsePlatform

  15. THANK YOU!