A small Family Tree Management System with the focus on the rendering and implementation of the family tree in JSON format. This is part of the Technical Test for Backend Frontend-oriented Developer Intern.
- Allow to copy/paste a family JSON files and see display of Family Tree in real time.
- Propose the "front Family Tree editing" on the diagram display directly.
- Showing only the Family Tree for user that has birthed in a specific year.
The family tree data is stored as an array
of all members in the family. For each member, we store the family id
that they are parent
and child
of.
- Members with the same
parent's family id
arespouses
. - Members with the same
child's family id
aresiblings
. - Members with their
parent's family id
the same as others member'schild's family id
areparent
andchild
.
Member | Parent of Family | Child of Family |
---|---|---|
Father | F1 | |
Mother | F1 | F0 |
Sister | F2 | F1 |
Brother-in-Law | F2 | |
Nephew | F2 | |
Grandparent | F0 |
- Bharath Raja - Building My Family Tree