{"id":18537398,"url":"https://github.com/vitaee/phpbanknet","last_synced_at":"2026-05-05T15:34:36.924Z","repository":{"id":244456586,"uuid":"670604269","full_name":"Vitaee/PhpBankNet","owner":"Vitaee","description":"a challenge given by retrocket and try to solve challenge with best practices of PHP and Laravel framework.","archived":false,"fork":false,"pushed_at":"2023-07-26T09:13:55.000Z","size":131,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-17T07:42:39.472Z","etag":null,"topics":["docker","docker-compose","lararvel","mysql"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Vitaee.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-07-25T12:26:08.000Z","updated_at":"2024-06-14T18:52:45.000Z","dependencies_parsed_at":"2024-06-14T20:58:07.653Z","dependency_job_id":"39f2d2c4-70ee-49e2-8cb1-b63afc131360","html_url":"https://github.com/Vitaee/PhpBankNet","commit_stats":null,"previous_names":["vitaee/phpbanknet"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Vitaee%2FPhpBankNet","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Vitaee%2FPhpBankNet/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Vitaee%2FPhpBankNet/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Vitaee%2FPhpBankNet/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Vitaee","download_url":"https://codeload.github.com/Vitaee/PhpBankNet/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254256513,"owners_count":22040307,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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","docker-compose","lararvel","mysql"],"created_at":"2024-11-06T19:38:04.807Z","updated_at":"2026-05-05T15:34:36.892Z","avatar_url":"https://github.com/Vitaee.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\u003ca href=\"https://laravel.com\" target=\"_blank\"\u003e\u003cimg src=\"https://raw.githubusercontent.com/laravel/art/master/logo-lockup/5%20SVG/2%20CMYK/1%20Full%20Color/laravel-logolockup-cmyk-red.svg\" width=\"400\" alt=\"Laravel Logo\"\u003e\u003c/a\u003e\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n\u003ca href=\"https://github.com/laravel/framework/actions\"\u003e\u003cimg src=\"https://github.com/laravel/framework/workflows/tests/badge.svg\" alt=\"Build Status\"\u003e\u003c/a\u003e\n\u003ca href=\"https://packagist.org/packages/laravel/framework\"\u003e\u003cimg src=\"https://img.shields.io/packagist/dt/laravel/framework\" alt=\"Total Downloads\"\u003e\u003c/a\u003e\n\u003ca href=\"https://packagist.org/packages/laravel/framework\"\u003e\u003cimg src=\"https://img.shields.io/packagist/v/laravel/framework\" alt=\"Latest Stable Version\"\u003e\u003c/a\u003e\n\u003ca href=\"https://packagist.org/packages/laravel/framework\"\u003e\u003cimg src=\"https://img.shields.io/packagist/l/laravel/framework\" alt=\"License\"\u003e\u003c/a\u003e\n\u003c/p\u003e\n\n## About Laravel\n\nLaravel is a web application framework with expressive, elegant syntax. We believe development must be an enjoyable and creative experience to be truly fulfilling. Laravel takes the pain out of development by easing common tasks used in many web projects, such as:\n\n- [Simple, fast routing engine](https://laravel.com/docs/routing).\n- [Powerful dependency injection container](https://laravel.com/docs/container).\n- Multiple back-ends for [session](https://laravel.com/docs/session) and [cache](https://laravel.com/docs/cache) storage.\n- Expressive, intuitive [database ORM](https://laravel.com/docs/eloquent).\n- Database agnostic [schema migrations](https://laravel.com/docs/migrations).\n- [Robust background job processing](https://laravel.com/docs/queues).\n- [Real-time event broadcasting](https://laravel.com/docs/broadcasting).\n\nLaravel is accessible, powerful, and provides tools required for large, robust applications.\n\n## Project Initialization\n\nFirst of all please craete the database schema you want to use. \n- I used `banknet_dev` for development, `banknet_test` for unit testing.\n\nI assume you have docker installed on your computer if it so please run below commands:\n- `docker compose build`, will build the project.\n- `docker compose up`, and your project is ready and awaiting your requests at `localhost:8080`!\n\n### Run unit tests\nFirstly, connect to running docker container:\n- `sudo docker exec -it php /bin/sh` then simple run test command: `php artisan test`.\n\nI created unit tests and postman doc for this project and i tried to apply best practices. I hope you will like this project.\n\n### Passport Authentication\nIf you face any error about the authentication you may need to run `php artisan passport:install` and then you will need to copy paste outputs to your `.env` file.\n\nsample output of passport:install:\n\n```bash\nPersonal access client created successfully.\nClient ID: 99bcd175-3ac8-4a6b-bbfa-d8271a2ec1ec\nClient secret: kJWDbpBdwughu6WWHi5uoI9TyAkl6BAOY5w4EUrB\nPassword grant client created successfully.\nClient ID: 99bcd175-b715-4b1a-b9a7-73e4e845fe08\nClient secret: tPh6HJ5WLS0S0EUvGyhkSZWMaOy9Ht9NWmGYZULX\n```\n\nCopy the ``first ID`` and ``` first Secret``` to your env file like below:\n```env\nPASSPORT_PERSONAL_ACCESS_CLIENT_ID=\"99bcd175-3ac8-4a6b-bbfa-d8271a2ec1ec\"\nPASSPORT_PERSONAL_ACCESS_CLIENT_SECRET=\"kJWDbpBdwughu6WWHi5uoI9TyAkl6BAOY5w4EUrB\"\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvitaee%2Fphpbanknet","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvitaee%2Fphpbanknet","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvitaee%2Fphpbanknet/lists"}