⚡️⚡️⚡️ Self-hosted collaborative bookmark manager to collect, read, annotate, and fully preserve what matters, all in one place.
TypeScript bookmarkbookmark-managercollaborationnextjsreact-nativeread-it-laterself-hostedtypescript
Small changes.
Daniel9251a29c3891
diff --git a/README.md b/README.mdindex 98e63634..ffaf867f 100644--- a/README.md+++ b/README.md@@ -47,6 +47,7 @@ The objective is to have a self-hosted place to keep useful links in one place,3. head to the main folder and run `docker compose up`.### Manual Setup (Linux/MacOS)+(Unstable for now.)1. Make sure your MongoDB database and collection is up and running.diff --git a/api/config.js b/api/config.jsindex 1ac18cd1..1038261a 100644--- a/api/config.js+++ b/api/config.js@@ -1,5 +1,3 @@-const fs = require("fs");-module.exports.port = process.env.PORT || 5000;module.exports.URI = process.env.MONGODB_URI || 'mongodb://localhost:27017';module.exports.database = process.env.DB_NAME || 'sample_db';diff --git a/api/server.js b/api/server.jsindex 2e587b63..b74c279a 100644--- a/api/server.js+++ b/api/server.js@@ -12,7 +12,7 @@ const client = new MongoClient(URI);const db = client.db(database);const list = db.collection(collection);-// Create the storage directories if they do ot exist+// Create the storage directories if they do not existif (!fs.existsSync(screenshotDirectory)) {fs.mkdirSync(screenshotDirectory, { recursive: true });}diff --git a/media/explanation b/media/explanationindex 57618968..99bce832 100644--- a/media/explanation+++ b/media/explanation@@ -1 +1 @@-This is the archive storage.\ No newline at end of file+This is the archive storage (For docker).\ No newline at end of file