CRUD Operation using Express JS and Mongodb

I want all the CRUD operations to be persistent in my mongodb database,

I want express code for handling the crud operation, and want to use datamanager,
I also want to send and extra parameter i.e. email along with datamanager,
this is the schema i am using,

const userScheduleSchema = new mongoose.Schema({
    email : {
      type : String,
      required : true
    },
    schedule : [
      {
        Subject: {
          type: String,
          required: true
        },
        Location: {
          type: String
        },
        StartTime: {
          type: Date,
          required: true
        },
        EndTime: {
          type: Date,
          required: true
        },
        isAllDay: {
          type: Boolean,
          default: false
        },
        Description: {
          type: String
        },
        RecurrenceRule: {
          type: String
        }
      }
    ]
  })

1 Reply 1 reply marked as answer

VR Vijay Ravi Syncfusion Team April 11, 2024 12:02 PM UTC

Hi Manish,

 

Based on your requirement, we have shared the GitHub repository for a React scheduler for MongoDB. Please refer to the GitHub repository shared below. Kindly try our provided sample.

 

Github link: https://github.com/SyncfusionExamples/ej2-react-scheduler-with-mongodb

 

Please get back to us with the required details for further assistance.

 

Regards,

Vijay


Marked as answer
Loader.
Up arrow icon