cameri / nostream

A Nostr Relay written in TypeScript
MIT License
713 stars 181 forks source link

Work to change database #337

Closed frbitten closed 5 months ago

frbitten commented 10 months ago

I haven't analyzed the code in depth yet. But if you want to change the database, is the database isolated which allows for a simpler change? Or is the code tightly integrated and would need to rewrite a lot to get it?

For what I intend to do, using MongoDB would be ideal

cameri commented 5 months ago

@frbitten interface with the database is in the event-repository.ts file so fairly isolated