diff --git a/mongoose.js b/mongoose.js
new file mode 100644
index 0000000000000000000000000000000000000000..1ca278312aa1c706ddfff6a0ac16627541706c65
--- /dev/null
+++ b/mongoose.js
@@ -0,0 +1,15 @@
+class ChatData {
+  constructor () {
+    this.mongoose = require('mongoose')
+    this.mongoose.connect('mongodb://localhost/wbd3_chat')
+
+    this.chatSchema = new this.mongoose.Schema({
+      participant_ids: [Number],
+      chats: [{
+        owner_id: Number,
+        content: String
+      }]
+    })
+    this.ChatModel = this.mongoose.model('Chat', this.chatSchema)
+  }
+}