Table of Content
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.
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”.