A
A
Argenon2015-08-11 19:08:39
CouchDB
Argenon, 2015-08-11 19:08:39

How to make Ember friends with CouchDB?

Trying to deal with Ember. I want to use CouchDB as a database. I found the adapter https://github.com/Zatvobor/ember-couchdb-kit but I can't figure out how to attach it. I created the application using ember-cli, installed the kit according to the manual. Russian documentation on this matter is not visible, English is difficult to come by. Can someone tell me an example of how to at least get at least one of the simplest documents from the database?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Stanislav Romanov, 2015-08-11
@Argenon

To enable it, you need to create a file:
With the same content:

export default EmberCouchDBKit.DocumentAdapter.extend({
    db: ...,
    host: ...
});

Have you looked at the example ?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question