question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Is your feature request related to a problem? Please describe. For smaller projects where a full mongodb server is overkill, it would be great to use rest-hapi with NeDB: https://github.com/louischatriot/nedb

Describe the solution you’d like Rather than providing a mongo URI, we could pass in an object that maps model name keys to NeDB datastore instances (i.e., mongo collections).

Describe alternatives you’ve considered TingoDB, but it appears to be abandoned.

Additional context I haven’t looked in detail yet to see if rest-hapi uses any parts of the mongo API that NeDB does not support.

If this seems possible, I can help with the code changes.

Issue Analytics

  • State:open
  • Created 4 years ago
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
mindjuicecommented, Apr 10, 2019

I’ve mainly used MongoDB and MariaDB/MySQL, but I also really liked RethinkDB before the company went under. I sort of lost hope for it, but it looks like the community has kept it up pretty well though.

It has the ability to stream updates to queries in real-time as the database changes, which is really slick.

0reactions
JKHeadleycommented, Apr 10, 2019

Yeah that makes total sense. Just curious, if you could choose your ideal DB for your application, what would it be? I would like to one day update rest-hapi to support multiple DBs.

Read more comments on GitHub >

github_iconTop Results From Across the Web

GitHub - louischatriot/nedb: The JavaScript Database, for ...
You can support NeDB development by sending money or bitcoins! ... You can use NeDB as an in-memory only datastore or as a...
Read more >
NeDB
NeDB. NeDB is a lightweight embedded document DBMS written in JavaScript. It supports Node.js, nw.js, Electron, and web browser environments ...
Read more >
nedb-promises
A dead-simple promise wrapper for nedb.. Latest version: 6.2.1, last published: 3 months ago. Start using nedb-promises in your project by ...
Read more >
nedb/README.md
You can support NeDB development by sending money or bitcoins! 17. 18, Money: [![Donate to author](https://www ...
Read more >
NeDB · Feathersjs
The following example creates a NeDB messages service. It will create a messages.db datastore file in the db-data directory and automatically load it....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found