Giter Club home page Giter Club logo

practice_parse_server's Introduction

Install Parse Server standalone version

Prerequisites

  1. How to Install MongoDB on Ubuntu 14.04 | DigitalOcean

Gist

Node

curl -sL https://deb.nodesource.com/setup_5.x -o nodesource_setup.sh
sudo -E bash ./nodesource_setup.sh
sudo apt-get install -y nodejs build-essential github

Mongo

sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 7F0CEB10

echo "deb http://repo.mongodb.org/apt/ubuntu "$(lsb_release -sc)"/mongodb-org/3.0 multiverse" | sudo tee /etc/apt/sources.list.d/mongodb-org-3.0.list

sudo apt-get update

sudo apt-get install -y mongodb-org

# Check status of mongod
service mongod status

Environment setup

Steps:

  1. npm install -g parse-server mongodb-runner parse-dashboard

Instructions

  1. mongodb-runner start

  2. parse-server --appId myAppId --masterKey myMasterKey

// parse-dashboard-config.json
// MUST change localhost to a public accessible IP, otherwise it wont work
// appId and masterKey must be the same as well.

{
  "apps": [
    {
        "serverURL": "http://localhost:1337/parse",
        "appId": "myAppId",
        "masterKey": "myMasterKey",
        "appName": "MyApp"
    }
  ],
  "users": [
    {
      "user":"andy",
      "pass":"andy"
    },
    {
      "user":"alan",
      "pass":"alan"
    }
  ]
}

run parse-dashboard --config parse-dashboard-config.json --allowInsecureHTTP=1;

Alternative is to install: https://github.com/ParsePlatform/parse-server-example

Screenshots

Login

Loggined

Reference

  1. ParsePlatform/parse-server: Parse-compatible API server module for Node/Express
  2. ParsePlatform/parse-dashboard: A dashboard for managing your Parse apps that aren't hosted on Parse.com
  3. ParsePlatform/parse-server: Parse-compatible API server module for Node/Express
  4. How To Run Parse Server on Ubuntu 14.04 | DigitalOcean
  5. Complete Parse Server migration guide | Julien Renaux Blog
  6. 如何自行架設 Parse API Server
  7. Parse.com 停止服務? 建立自己的 Parse API Server 吧! | Mr. 沙先生
  8. Initial Server Setup with Ubuntu 14.04 | DigitalOcean

practice_parse_server's People

Contributors

ldong avatar

Watchers

James Cloos 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.