Couchdb in Nodejs

|▌冷眼眸甩不掉的悲伤 提交于 2021-02-17 22:50:24

问题


I am just getting started with couchdb in nodejs. I am looking for a tutorial or article that would help me get started or at least some lines of code. I don't want to use any module for db abstraction because that would defeat the purpose of learning . I am looking to make my own module that works with Couch and from my understanding this could easily be accomplished with the request module https://github.com/mikeal/request but I haven't found anything about this. Thanks!


回答1:


I wrote a blog post about this, hope it's helpful to you:

http://writings.nunojob.com/2011/09/getting-started-with-nodejs-and-couchdb.html




回答2:


Check out Nano: https://github.com/dscape/nano

It's exactly what you're trying to do.




回答3:


Check out this module: https://github.com/cloudhead/cradle it's very helpful to getting started with couchdb on nodejs. Just take a look at the main readme on github




回答4:


For getting started with working with CouchDB without a nice in-between like cradle, I'd recommend CouchDB: The Definitive Guide. It helped me immensely when developing CouchQueue, a Node.js module for creating queues out of CouchDB databases.




回答5:


Nano is the simplest way to interact with CouchDB. http://www.tutorialindustry.com/node-js-couchdb-tutorial-for-beginners

You can also go for Cradle(A high-level, caching, CouchDB client for Node.js)-https://github.com/cloudhead/cradle



来源:https://stackoverflow.com/questions/10250383/couchdb-in-nodejs

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!