From d5746eb05ae956f5edab237e37659c133f5dbc55 Mon Sep 17 00:00:00 2001
From: Alan Chamathil <77508072+AlanChamathil@users.noreply.github.com>
Date: Thu, 30 Mar 2023 13:45:52 +0100
Subject: [PATCH] gitignore files

---
 .gitignore           | 1 +
 docker-compose.yml   | 2 ++
 src/schema/schema.js | 2 +-
 3 files changed, 4 insertions(+), 1 deletion(-)
 create mode 100644 .gitignore

diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..b512c09
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+node_modules
\ No newline at end of file
diff --git a/docker-compose.yml b/docker-compose.yml
index f360bfe..0444f28 100644
--- a/docker-compose.yml
+++ b/docker-compose.yml
@@ -6,6 +6,8 @@ services:
     container_name: db_container
     image: mongo:latest
     restart: always
+    ports:
+      - 3001:3001
     volumes:
       - mongo_db:/data/db
 
diff --git a/src/schema/schema.js b/src/schema/schema.js
index 9c3ed30..aa16cbd 100644
--- a/src/schema/schema.js
+++ b/src/schema/schema.js
@@ -1,7 +1,7 @@
 const mongoose = require('mongoose');
 
 const notificationSchema = new mongoose.Schema({
-    userid:Number,
+    userid: Number,
     title: String,
     description: String,
     date: Date
-- 
GitLab