<kbd id="afajh"><form id="afajh"></form></kbd>
<strong id="afajh"><dl id="afajh"></dl></strong>
    <del id="afajh"><form id="afajh"></form></del>
        1. <th id="afajh"><progress id="afajh"></progress></th>
          <b id="afajh"><abbr id="afajh"></abbr></b>
          <th id="afajh"><progress id="afajh"></progress></th>

          Parse ServerParse.com API 服務器

          聯(lián)合創(chuàng)作 · 2023-09-19 07:39

          溫馨提示:該項目除了使用 BSD 協(xié)議授權外,還需遵守附加的專利授權。

          Parse Server 是一個兼容 Parse.com API 的路由包,用于 Express。Facebook 已經(jīng)將這個項目基于 BSD 許可證開源。

          使用方法:

          var express = require('express');
          var ParseServer = require('parse-server').ParseServer;
          
          var app = express();
          
          // Specify the connection string for your mongodb database
          // and the location to your Parse cloud code
          var api = new ParseServer({
            databaseURI: 'mongodb://localhost:27017/dev',
            cloud: '/home/myApp/cloud/main.js', // Provide an absolute path
            appId: 'myAppId',
            masterKey: 'mySecretMasterKey',
            fileKey: 'optionalFileKey'
          });
          
          // Serve the Parse API on the /parse URL prefix
          app.use('/parse', api);
          
          // Hello world
          app.get('/', function(req, res) {
            res.status(200).send('Express is running here.');
          });
          
          var port = process.env.PORT || 1337;
          app.listen(port, function() {
            console.log('parse-server-example running on port ' + port + '.');
          });
          瀏覽 27
          點贊
          評論
          收藏
          分享

          手機掃一掃分享

          編輯 分享
          舉報
          評論
          圖片
          表情
          推薦
          點贊
          評論
          收藏
          分享

          手機掃一掃分享

          編輯 分享
          舉報
          <kbd id="afajh"><form id="afajh"></form></kbd>
          <strong id="afajh"><dl id="afajh"></dl></strong>
            <del id="afajh"><form id="afajh"></form></del>
                1. <th id="afajh"><progress id="afajh"></progress></th>
                  <b id="afajh"><abbr id="afajh"></abbr></b>
                  <th id="afajh"><progress id="afajh"></progress></th>
                  看操逼网站 | 久久视频这里有精品 | 无码v| 很很日2012中文在线免费 | 国产一区 熟 |