Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

CouchDB in NestJS

I am getting started with NestJs and CouchDB. I am looking for a tutorial to get started but I can't find anything specific to CouchDB for NestJS. For nodejs I am finding quite a lot of stuff, but nothing about nestjs. I am new in both, NestJS and CouchDB, and to begin with, I can't find any library or package to use CouchDB in NestJS-

Does anyone know any tutorial on how to get started or just tell me here how to get started. How to connect CouchDB to NestJS and how to get the stuff from CouchDB to NestJS.

Thank you.

like image 241
Tinaira Avatar asked Sep 02 '25 16:09

Tinaira


1 Answers

Your immediate best bet would be to create a Dynamic Module that's a simple wrapper around CouchDB. It doesn't have to be anything as fancy as the Nest packages for Mongo, Sequelize, or TypeORM. I have a decent example of a Postgres wrapper if you wannna take a look at that.

Otherwise, this is a great article on dynamic modules

like image 59
Jay McDoniel Avatar answered Sep 05 '25 06:09

Jay McDoniel