Feature Description
meetings backend is not written yet, so I'll write that using mvc structure using express js and store data in mongoDB.
What problem does this feature solve or what opportunity does it address?
Meeting Model:
-id
-title
-description
-host_id
-start_time
-end_time
-participants (array of user_ids)
-status
MeetingController:
getAllMeetings(req, res): Retrieves all meetings. Fetches meeting data from the database and returns it to the client.
getMeetingById(req, res): Retrieves a specific meeting by ID. Fetches meeting details based on the provided ID and returns it to the client.
createMeeting(req, res): Creates a new meeting. Validates input data, creates a meeting record in the database, and returns the newly created meeting details to the client.
updateMeeting(req, res): Updates an existing meeting. Validates input data, updates the meeting record in the database, and returns the updated meeting details to the client.
deleteMeeting(req, res): Deletes a meeting. Deletes the meeting record from the database based on the provided ID and returns a success response to the client.
joinMeeting(req, res): Allows a user to join a meeting. Validates input data, adds the user to the participants list of the meeting, and returns a success response to the client.
inviteParticipants(req, res): Sends meeting invitations to participants. Validates input data, sends invitation emails or notifications to the specified participants, and returns a success response to the client.
Instructions
Stay you can start working on it by taking latest pull from main branch
Respect Co Developers And Please Reach-out to admins if any issues
I am working on this under GSSOC'24