Move questions to database and making them be rendered as components.
- Easier to maintain
- Easier and faster to update
Entities reference
categories
| Name |
Tags |
SQL |
| id |
uuid |
PK |
| category |
string |
unique |
| created_at |
Date |
|
| updated_at |
Date |
|
questions
| Name |
Tags |
SQL |
| id |
uuid |
PK |
| question |
text |
|
| answerType |
string |
enum(select,text,validation) |
| options |
string |
Null |
| category |
uuid |
FK (categories.id) |
| created_at |
Date |
|
| updated_at |
Date |
|
answers
| Name |
Tags |
SQL |
| id |
uuid |
PK |
| answer |
text |
|
| category |
uuid |
FK (categories.id) |
| question |
uuid |
FK (questions.id) |
| remarks |
text |
|
| created_at |
Date |
|
| updated_at |
Date |
|
Move questions to database and making them be rendered as components.
Entities reference
categories
questions
answers