GithubHelp home page GithubHelp logo

r3trosteve / chisel-parse-server-starter Goto Github PK

View Code? Open in Web Editor NEW

This project forked from beachio/chisel-parse-server-starter

0.0 1.0 0.0 538 KB

A Parse Server setup specifically for Chisel CMS

License: BSD 3-Clause "New" or "Revised" License

JavaScript 82.81% HTML 13.84% CSS 2.49% Dockerfile 0.86%

chisel-parse-server-starter's Introduction

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:

Parameter config.json process.env
Parse server port port PORT
Parse server URL URLserver SERVER_URL
Database URI URLdb DATABASE_URI, MONGODB_URI
Chisel site URL URLsite SITE_URL
Parse application ID appId APP_ID
Parse master key masterKey MASTER_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):

Parameter config.json process.env
Dashboard enabled dashboardActivated DASHBOARD_ACTIVATED
Email for dashboard userEmail USER_EMAIL
Password for dashboard userPassword USER_PASSWORD

chisel-parse-server-starter's People

Contributors

lumandra avatar nes-si avatar r3trosteve avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.