Awesome
Genealogy Application
English | Indonesia
⚠️ Development in progress
In development progress, any changes of table structure will be updated directly to corresponding migration file.
About
Genealogy (Silsilah) application to record our family members.
Features
This application uses Bahasa Indonesia and English based on config.locale
.
Logic Concept
- A person can have one father
- A person can have one mother
- A person can have one parent (couple of mother and father)
- A person can have 0 to many children
- A person can have 0 to many spouses (husbands or wife)
- A couple can have 0 to many children (based on parent_id)
Family Member Entry
- Enter Name and Gender
- Set Father
- Set Mother
- Add Spouse
- Add Child
Person Attribute
- Nickname
- Gender
- Fullname
- Date of birth
- Date of death (or at least year of death)
- Address
- Phone Number
Couple Attribute (TODO)
- Husband
- Wife
- Marriage Date
- Divorce Date
- Address
How to Install
Server Requirements
This application can be installed on local server and online server with these specifications :
- PHP 7.3 (and meet other Laravel 8.x server requirements),
- MySQL or MariaDB database,
- SQlite (for automated testing).
Manual Installation
-
Clone the repo and move to the application directory.
git clone https://github.com/nafiesl/silsilah.git cd silsilah
-
Install dependencies:
composer install
-
Create
.env
file:cp .env.example .env
-
Generate application key:
php artisan key:generate
-
Setup database and adjust other environment variables configuration in the
.env
file. -
Add admin email to the
.env
file (Optional):SYSTEM_ADMIN_EMAILS=admin@email.com;other_admin@email.com
-
Migrate database and link storage:
php artisan migrate php artisan storage:link
-
Run the application:
php artisan serve --host 0.0.0.0 --port=8000
Open the application in the browser at http://localhost:8000.
Install with Docker
Make sure Docker and Docker Compose are installed.
make run-docker
or
docker-compose up -d
Open the application in the browser at http://localhost:8000.
Testing
This application built with testing (TDD) using in-memory sqlite database.
vendor/bin/phpunit
Contributing
Feel free to submit Issue for bugs or sugestions and Pull Request.
Screenshots
Family Tree
This family tree view is using the Horizontal Family Tree CSS, thanks to Peiwen Lu.
Family Chart
Search Family Member
User Profile
Profile Form
Profil Edit Form
Automated Testing
License
Silsilah project is open-sourced software licensed under the MIT license.