For now this just connects to MongoDb. No authentication or anything like that. In a future update I'll let people specify better granularity, but for now this works pretty well.
1 | getDbConnection(collection, dataUri)
|
collection |
the collection to update. You should never worry about this as there are 2 collections used by this app, "evaluations" and "models". If you mess with that then you are going to break things. |
dataUri |
the URI of the mongoDb to use. Note just the URL is needed for now. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.