Professional Documents
Culture Documents
Be 2.3
Be 2.3
WORKSHEET 2.3
Student Name: Nidhi Yadav UID:22MCA20001
Branch: MCA Section/Group: 3(A)
Semester: 3rd semester Date: 28/10/2023
stdSchema.js:
const mongoose = require("mongoose"); const
mongodb = require("mongoose"); const stdSchema =
new mongoose.Schema({
Name: String,
Branch: String,
UID: String,
Section: String, }); module.exports = mongoose.model("stddtails",
stdSchema);
Post.js:
Insert Data:
Read data:
Delete data:
Update data:
Learning Outcomes:
1.Able to understand how to use NODE JS.
2. Able to understand how to make website for API.
3. Learn how to use mongodb and mongoose.