{"id":19705198,"url":"https://github.com/alifruliarso/simpleloan","last_synced_at":"2026-04-18T15:37:45.351Z","repository":{"id":200899798,"uuid":"613712556","full_name":"alifruliarso/simpleloan","owner":"alifruliarso","description":"Simple Loan REST API powered by Laravel Sail","archived":false,"fork":false,"pushed_at":"2023-03-14T07:00:43.000Z","size":97,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-08-03T23:37:20.928Z","etag":null,"topics":["docker-compose","laravel","loan-application","restful-api"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/alifruliarso.png","metadata":{"files":{"readme":"README.MD","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2023-03-14T05:48:49.000Z","updated_at":"2023-05-22T14:04:52.000Z","dependencies_parsed_at":null,"dependency_job_id":"614781fe-225c-4629-818d-48c768135fd5","html_url":"https://github.com/alifruliarso/simpleloan","commit_stats":null,"previous_names":["alifruliarso/simpleloan"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/alifruliarso/simpleloan","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alifruliarso%2Fsimpleloan","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alifruliarso%2Fsimpleloan/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alifruliarso%2Fsimpleloan/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alifruliarso%2Fsimpleloan/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/alifruliarso","download_url":"https://codeload.github.com/alifruliarso/simpleloan/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alifruliarso%2Fsimpleloan/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31974947,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-18T00:39:45.007Z","status":"online","status_checked_at":"2026-04-18T02:00:07.018Z","response_time":103,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["docker-compose","laravel","loan-application","restful-api"],"created_at":"2024-11-11T21:26:49.250Z","updated_at":"2026-04-18T15:37:40.336Z","avatar_url":"https://github.com/alifruliarso.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Simple Loan _REST_ API\n\nThis project provides the following function:\n1. Create User/Admin\n2. Login User/Admin\n3. Create a loan by User\n4. Approve a loan by Admin\n4. Pay the loan through scheduled payment\n\n## Setup local development\n\n### Clone the project\n-\n    ```sh\n    git clone https://github.com/alifruliarso/simpleloan.git\n    cd simpleloan\n    ```\n\n### Setup environment variable.\n\n- Default api url : http://localhost:8000/api/\n- MySQL can be accessed from host using port 33066, user=root with empty password\n- For using different port, change it inside application's ```.env``` file\n    ```\n    APP_PORT=8000\n    FORWARD_DB_PORT=33066\n    ```\n\n### Install With Docker (Sail).\n-   Run the following command :\n\n    ```shell\n    cd simpleloan\n    cp .env.sample .env\n    make dev\n    ```\n\n### Install Without Docker\n1. Change the directory, and Install the dependencies:\n\n    ```shell\n    cd simpleloan\n    cp .env.sample .env\n    composer install\n    ```\n\n2. Generate application key:\n\n    ```shell\n    php artisan key:generate\n    ```\n\n3. Run database migration with seeder:\n\n    ```shell\n    php artisan migrate --seed\n    ```\n\n4. Start the local server:\n\n    ```shell\n    php artisan serve\n    ```\n\n\n\n## Features\n### API Documentation\n\n-   Swagger UI : [http://localhost:8000/swagger-ui](http://localhost:8000/swagger-ui)\n\n### Code style and lint using Laravel Pint\n\n```shell\n./vendor/bin/pint\n```\n\n### Running the Test.\n\n```shell\nphp artisan test\n```\n\n### To generate the OpenAPI Specification file, run command:\n\n```shell\ncomposer openapi\n```\n\n### docker-compose Commands\n\n```shell\nsail up        Start the application\nsail up -d     Start the application in the background\nsail stop      Stop the application\nsail restart   Restart the application\nsail ps        Display the status of all containers\n```\n\n### **Demo User Credentials**\n\n```\nEmail: john@example.com\nPassword: 123456\n```\n\n### **Demo Admin Credentials**\n\n```\nEmail: root@admin.com\nPassword: 123456\n```\n\n## Credits\n\nThis starter kit is inspired by the project [Pandora](https://arifszn.github.io/pandora),\n[laravel-makefile](https://github.com/kkamara/laravel-makefile/blob/main/README.md).","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falifruliarso%2Fsimpleloan","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falifruliarso%2Fsimpleloan","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falifruliarso%2Fsimpleloan/lists"}