ParseServer
parse-server express middleware
安装
npm install --save @wang-dong/parse-server
使用方法
const express = require('express');
const createServer = require('http').createServer;
const middleware = require('@wang-dong/parse-server');
const app = express();
app.use(middleware());
createServer(app).listen(80, () => console.log(`Server running on port 80`));
const createServer = require('http').createServer;
const middleware = require('@wang-dong/parse-server');
createServer(middleware()).listen(80, () => console.log(`Server running on port 80`));