English | Indonesia
⚠️ Development in progress
In development progress, any changes of table structure will be updated directly to corresponding migration file.
Genealogy (Silsilah) application to record our family members.
This application uses Bahasa Indonesia and English based on config.locale
.
- 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)
- Enter Name and Gender
- Set Father
- Set Mother
- Add Spouse
- Add Child
- Nickname
- Gender
- Fullname
- Date of birth
- Date of death (or at least year of death)
- Address
- Phone Number
- Husband
- Wife
- Marriage Date
- Divorce Date
- Address
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).
-
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): -
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.
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.
This application built with testing (TDD) using in-memory sqlite database.
vendor/bin/phpunit
Feel free to submit Issue for bugs or sugestions and Pull Request.
This family tree view is using the Horizontal Family Tree CSS, thanks to Peiwen Lu.
Silsilah project is open-sourced software licensed under the MIT license.