ACM-VIT / SDG-Backend

0 stars 0 forks source link

Create Responses Table for Contact Us Messages #3

Open mahendra785 opened 1 month ago

mahendra785 commented 1 month ago

Set up a new table in the database called responses. When a user submits a message through the Contact Us form, save their details (e.g., name, email, message) into this table. This will help keep a record of all the messages received.

D-Vspec commented 1 month ago

Pseudocode: Create Responses Collection for Contact Us Messages

Objective:

Set up a new collection in the NoSQL database called responses. When a user submits a message through the Contact Us form, their details (e.g., name, email, message) should be saved in this collection. This will help keep a record of all the messages received.

Steps:

1. Define the responses Collection Structure

2. Create the Schema in Mongoose