From b614360c8a316e0933122ac1e3a631c0d0773a80 Mon Sep 17 00:00:00 2001 From: Kevin J Hoerr Date: Sat, 7 Dec 2019 19:50:16 -0500 Subject: Add Metadata core with MongoDB for persistence With the new process dependency, process handling has been added to ensure that the ExpressJS server and MongoDB client connections get closed up properly. As noted in the Metadata file above the Branch interface, the schema is definitely not finalized. Eventually metadata will be needed at the repo level anyways, so reorganizing the document schema is high on the priority list. --- .env.sample | 2 ++ 1 file changed, 2 insertions(+) (limited to '.env.sample') diff --git a/.env.sample b/.env.sample index 281d0ec..b3fdc29 100644 --- a/.env.sample +++ b/.env.sample @@ -2,3 +2,5 @@ PORT=3000 TOKEN= HOST_DIR=/dist UPLOAD_LIMIT=4194304 +MONGO_URI=mongodb://localhost:27017 +MONGO_DB=ao-coverage \ No newline at end of file -- cgit