This application is only a concept. Since there is no server side code in this app, the keys for the database are visible to everyone therefore is not safe to host this application as it is in a real environment. To fix this issue you can extend the app to allow user authenticatication and provide a unique key for each user (currently everyone's uses the same key)
- Just download/clone this repo and host the files in the server of your choice.
- Create a free account in www.mongolab.com
- Create a database and a collection and get your unique REST API key
- Configure the app by editing js/mongodb.js (see below)
- Launch the app and you are set.
var mongodb = {
apiKey:'YOUR-OWN-APIKEY',
database:'YOUR-DATABASE-NAME',
tcollection:'YOUR-COLLECTION',
baseUrl: 'https://api.mongolab.com/api/1/'
//below this line no modification is needed
}