Mejores prácticas y tutoriales

Desarrollo de una API con Node.js utilizando Couchbase NoSQL y Ottoman

Lectura de 1 minutos

Not too long ago I released a lengthy tutorial video on the topic of creating an API with Node.js and Couchbase that used N1QL for querying.  However, that is only one of several ways to get the job done.  If you’re a Node.js developer that is familiar with MongoDB, you’ll recognize a tool called Mongoose that acts as an ODM for the data layer.  Couchbase also has an ODM tool, this time called Ottoman.

Using an ODM makes it very easy to map your data layer to Node.js objects.  Ottoman handles all the querying and any relationships between documents along the way.

Below is a video tutorial that accomplishes the same end goal as the N1QL video, but this time it uses Ottoman.

I recommend watching both videos to get an understanding of the different ways you can use Couchbase with Node.js and to better determine which way is best for you.

For more information on the things you can do with Node.js and Couchbase, check out the Couchbase developer portal.

Compartir este artículo

Autor

Nic Raboy is an advocate of modern web and mobile development technologies. He has experience in Java, JavaScript, Golang and a variety of frameworks such as Angular, NativeScript, and Apache Cordova. Nic writes about his development experiences related to making web and mobile development easier to understand.

Deja un comentario

¿Listo para comenzar con Couchbase Capella?

Comenzar a construir

Visita nuestro portal para desarrolladores para explorar NoSQL, consultar recursos y comenzar con los tutoriales.

Usa Capella gratis

Empieza a usar Couchbase en tan solo unos clics. Capella DBaaS es la forma más fácil y rápida de comenzar.

Ponte en contacto

¿Quieres saber más sobre las ofertas de Couchbase? Permítenos ayudarte.