0.7.2 • Published 1 year ago

chisel-parse-server v0.7.2

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

Parse Server

A Parse Server setup for Chisel — the open source API-first, headless CMS. It based on Parse Server.

One Click Deploy to Heroku

Setting up a hosted Parse Server instance is easy with Heroku.

Click the button below and follow these these steps...

Deploy

If you want to setup Parse Server on Heroku the long way, follow these steps

Local Setup

Should you want to run your Parse Server instance locally, you can...

Clone this repository locally.

git clone <repo url>
cd <project name>

You should install MongoDB (if you haven't it yet):

brew install mongodb

Before running server, you should start MongoDB daemon:

mongod --dbpath <path to data directory>

Install Dependencies

npm install

Next, run server:

npm start

Parse Server will be running on http://localhost:1337/parse

Configuration

You can setup configuration in config.json file. Also some parameters can be passed by process.env. In config.json file, in parseConfig object you can pass any parameters of original Parse Server, so checkout its docs. Main parameters with process.env aliases:

Parameterconfig.jsonprocess.env
Parse server portportPORT
Parse server URLURLserverSERVER_URL
Database URIURLdbDATABASE_URI, MONGODB_URI
Chisel site URLURLsiteSITE_URL
Parse application IDappIdAPP_ID
Parse master keymasterKeyMASTER_KEY

In emailAdapter there are settings for email adapter. To using email features (users' verification) you should replace fromAddress, domain and apiKey parameters to yours (or even change the adapter if you don't use Mailgun).

Also you can configure integrated Parse Dashboard (in extraConfig object in config.js):

Parameterconfig.jsonprocess.env
Dashboard enableddashboardActivatedDASHBOARD_ACTIVATED
Email for dashboarduserEmailUSER_EMAIL
Password for dashboarduserPasswordUSER_PASSWORD