/family-tree

A console application for creating and managing family trees. Coursework.

Primary LanguageJavaScriptMIT LicenseMIT

Family Tree 🔍🤵💫

version badge type badge license badge

Welcome to the application for creating and managing family trees!

The application is built on levels. This allows for easy maintenance.

Rank Level
1 Member
2 Tree
3 Common

Let's start

First you need to install Node.js v18.12.1 and above.

Clone repo and install dependencies:

git clone https://github.com/basarabst/family-tree.git
npm install

Run Family Tree:

npm start

Explore

Initialize new family tree using create command: create command

Add relative to the tree using add command: add command

Select a tree member to configure using member command: member commnad

Create new family relation using relate command: relate command

Add new event to tree member using event command: event command

View all changes using show command with different keys: show command

Save project as file using save command. Later you can open saved tree using open command: save command open command

Testing

Appropriate tests were written to test individual methods. Run tests:

npm test

tests

Conclusion

Different technologies and programming patterns were used to write such a console application. I want to express my sincere thanks to @tshemsedinov for his advice and reviews during the coursework writing.

Thank you for your stars ⭐😘