Skip to content

Latest commit

 

History

History
43 lines (29 loc) · 1.69 KB

README.md

File metadata and controls

43 lines (29 loc) · 1.69 KB

Parse Sample Client + Server App

Prerequisites

  • MongoDB (v4.2 as of writing)
  • Node (v10.20.1 as of writing)

Server

Parse Server

Parse Server is an open source backend that can be deployed to any infrastructure that can run Node.js.

Read more Here

  • Prerequisite

    • MongoDB should be installed and running
    • Create db test (this can be changed in config.json)
  • How to run

    • from root directory (server)
    • npm install
    • npm run server
    • Upon successful start you will see
      [9346] parse-server running on http://localhost:1338/parse
    • NOTE: The above is your API endpoint for all backend operations. Parse also supports a REST API (alternate to JS SDK) Read more

Client

Client application is built with Backbone.js (router support ), jQuery and Webpack for build tool. This can easily be changed to a nodejs Express application or any other framework for that matter.

The Parse Javascript SDK is used for server communication. All CRUD methods are supported but this demo only focusses on Save and Get.

Read more about the SDK Here

  • How to run

    • from root directory (client)
    • npm install
    • npm run start
    • Launch localhost:3000 in your favorite browser (Hopefully not IE)