Skip to content
This repository has been archived by the owner on Jul 9, 2024. It is now read-only.

[Feature] MongoDB-Connector implementieren #71

Closed
Tracked by #44
wgumenyuk opened this issue May 7, 2024 · 0 comments · Fixed by #105
Closed
Tracked by #44

[Feature] MongoDB-Connector implementieren #71

wgumenyuk opened this issue May 7, 2024 · 0 comments · Fixed by #105

Comments

@wgumenyuk
Copy link
Owner

Beschreibung

MongoDB-Connector analog zum Redis-Connector1 implementieren. Wenn die Verbindung scheitert, dann gesamten Prozess beenden.

Mögliche Lösung

  • Methode namens initMongo() exporieren
  • MONGODB_URL kommt aus den Umgebungsvariablen process.env
  • Siehe src/internal/redis.ts
mongoose.connect(MONGODB_URL);

Additionaler Kontext

Keine Angabe.

Footnotes

  1. src/internal/redis.ts.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

2 participants