4. Create a new project in Visual Studio Code named SDN301MPE_SU23_StudentCode.
5. You must create Mongo database with the name SDN301MPE_SU23_StudentCodeDB.
Implement a part of Orchids Management System. The situation is described as a category that has many orchids involved and an orchid belongs to a category.
Your database contains 3 collections, the schema as follow:
category ({
categoryName: {String, require: true}
VERFLOW.COM
},{ timestamps: true, });
orchid ({
orchidName: { type: String, require: true},
price: {type: currency, require: true},
isNature: {type: Boolean, default: false}
category: {type: mongoose.Schema. Types. ObjectId, ref: "Categories", require: true},
},{ timestamps: true, });
FOOVERFLOW.COM
Zoom
100%
Close