0

I would like to use another platform than mongodb with mongoose.

I used mongoose in my school project, and my school ask me to have a multiple database project.

Any idea ? I don't want to duplicate my code..

Thanks

Community
  • 1
  • 1
Johnny
  • 2,989
  • 4
  • 17
  • 28

2 Answers2

2

Mongoose is MongoDB-specific as the website says:

elegant mongodb object modeling for node.js

so it's not possible to use it with another NoSQL tool.

Tobi
  • 31,405
  • 8
  • 58
  • 90
0

CosmosDB from Azure is compatible with Mongoose and I have used this setup.

TingoDB claims to be compatible too using an additional driver called Tingus.

NeDB claims "its API is a subset of the MongoDB API" so there may be some compatibility with Mongoose too.

There may be other projects out there.

tedw
  • 451
  • 5
  • 8