feat: Adding notifications endpoint

This commit is contained in:
Josepablo C
2024-08-09 21:16:24 -06:00
parent 288fdc10a7
commit 9b24704f76
9 changed files with 137 additions and 3 deletions

View File

@@ -0,0 +1,14 @@
// MongoDB Playground
// Use Ctrl+Space inside a snippet or a string literal to trigger completions.
// The current database to use.
use('enrutaviaporte');
// Create a new document in the collection.
db.getCollection('notifications').insertOne({
"owner" : ObjectId("65eeadb8ed616b897ca4c4cd"),
"title":"Notification title",
"description":"Notification description",
"tag":"category",
"deleted":false
});