Images
Tutorials
_id: ObjectId
path: String
url: String
caption: String
createAt: Date
_id: ObjectId
title: String
+ author: String
+ images:
[
{
_id: ObjectId,
url: String,
caption: String
Categories
+_id: ObjectId
+ name: String
+ description: String
Comments
_id: ObjectId
username: String
+ text: String
+ createAt: Date
+ comments: [{ObjectId}],
+ category: ObjectId
Requirements:
- Using MongoDB Compass, create a database named "PE_Fall2024_B5". Create collections corresponding to the data in the given directory. Then, import data into the collections created in the database.
PE_Fall2024_B5
Categories
Comments
Images
Tutorials
+
Question 1. (5 points)
In this question, you are asked to write an application (back-end given folder), that provide some API to manage: Categories. Tutorials and Comments.
Zoom
[5/6]: da