Software-Developer-Academy / mentor-match

Mentor Matching website
12 stars 17 forks source link

Update User DB model for Account Questionnaire form #125

Open coltonehrman opened 2 months ago

coltonehrman commented 2 months ago

Update the User DB model to include data related to account questionnaire form.

Ramzi-Abidi commented 1 month ago

May I take this issue @coltonehrman @tjay22 ?

tjay22 commented 1 month ago

@Ramzi-Abidi Sure!

Ramzi-Abidi commented 1 month ago

Hello team,

I found out that User model already has "skills" property.

image

So, I'm wondering what else we could add to it for the questionnaire form.

How about descructuring skills into frameworks, programming languages, cloud providers, etc as shown in the picture.

image

tjay22 commented 1 month ago

@Ramzi-Abidi Maybe you can use this JSON file as a reference for the DB model. Currently on the frontend, the onSubmit function is logging out a JSON string with the IDs and values.

The signup questionnaire is a multi question form so maybe it's better to create a single field that saves all that data? Other things to note:

If you would like to test out the form, use this branch.

Thanks for contributing!