모범 사례 및 튜토리얼

Developing an API with Node.js using Couchbase NoSQL and Ottoman

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 개발자 포털.

이 기사 공유하기

작가

닉 라보이(Nic Raboy)는 모던 웹 및 모바일 개발 기술의 옹호자입니다. 그는 자바, 자바스크립트, 골랑(Golang)을 비롯해 앵귤러, 네이티브스크립트, 아파치 코르도바 같은 다양한 프레임워크 경험을 가지고 있습니다. 닉은 웹 및 모바일 개발을 더 쉽게 이해할 수 있도록 돕는 자신의 개발 경험에 대해 글을 씁니다.

댓글 남기기

카우치베이스 카펠라를 시작할 준비가 되셨나요?

개발 시작하기

NoSQL을 탐색하고, 리소스를 찾아보고, 튜토리얼을 시작하려면 개발자 포털을 확인하세요.

카펠라 프리 사용하기

단 몇 번의 클릭으로 카우치베이스(Couchbase)를 직접 체험해 보세요. Capella DBaaS는 시작하기 가장 쉽고 빠른 방법입니다.

연락해

Couchbase 제품군에 대해 더 알고 싶으신가요? 저희가 도와드리겠습니다.