Resolve "Configure MongoDB Connection"
Compare changes
- Rokas Stankunas authored
+ 1
− 11
@@ -6,19 +6,9 @@ async function connectDB() {
@@ -6,19 +6,9 @@ async function connectDB() {
Implemented connectDB, as described in #3 (closed); 1st commit introduced the check if connected to DB and make collections, 2nd commit made it fit the requirements and improved the code by adding error handling.
Closes #6 (closed)