Public | Automated Build

Last pushed: a year ago
Short Description
Parse server for Bloom books
Full Description


This is the database backend for, using the parse-server module on Express.

Here is the full Parse Server guide.

Set Up For Local Development

  1. Make sure you have at least Node 4.3.

    node --version

  2. Clone this repo and go into its directory, and install or update the dependencies:

    npm install

  3. Install mongodb server

  4. Give mongodb a blank directory to work with, and run it:

    c:\Program Files\MongoDB\Server\3.2\bin>mongod.exe --dbpath x:\temp\mongodata

  5. Start up this server:

    npm start

    Or, to debug, open bloom-parse-server in vscode, F5 (Debug: Launch via NPM). Note that this sets the masterid to "123", via an environment variable.

    To verify that it is running, open a browser to http://localhost:1337/test

  6. Run Parse Dashboard:

     npm install parse-dashboard --global
     parse-dashboard --appId myAppId --masterKey "123" --serverURL

    This will say it is available at, but actually it is at http://localhost.

  7. Setup or update the mongodb Schema

     curl -X POST -H "X-Parse-Application-Id: myAppId" -H "X-Parse-Master-Key: 123" -d "{}" http://localhost:1337/parse/functions/setupTables

    You should get

    {"result":"SetupTables ran to completion."}

    and see the tables in the dashboard.

Cloud Code

Normally you will only touch the "cloud code", found in cloud/main.js.

Sample Queries

curl -X POST \
  -H "X-Parse-Application-Id: myAppId" \
  -H "Content-Type: application/json" \
  -d '{}' \
Docker Pull Command
Source Repository