Setup mongolab

Directly send to database via web service.

MongoLab is a web service to serve MongoDB. The service provides an API for client to access the database.

Mongolab&nbsp1

Mongolab&nbsp2

Mongolab&nbsp3

Get the API Key before we proceed.

Note: A better approach is to create your API server that connects the Mongolab db. Connecting directly to database through JavaScript is a bad idea.

  • The API key has full read write access
  • The JavaScript is easy to be cracked

What’s next? We’re going to take a look at “Feedback form html”.

overlaied image when clicked on thumbnail

Makzan | Mobile web app dev with phonegap | Table of Content