{"id":26336133,"url":"https://github.com/mariodiasbatista/laravel-api","last_synced_at":"2026-01-02T08:31:40.392Z","repository":{"id":225733598,"uuid":"766705571","full_name":"mariodiasbatista/laravel-api","owner":"mariodiasbatista","description":"This Laravel-powered API is built with RESTful principles, ensuring a clean, consistent, and scalable architecture. Designed for high performance and optimal request-response handling, the API follows industry best practice.","archived":false,"fork":false,"pushed_at":"2025-02-21T00:47:27.000Z","size":902,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-21T01:36:58.223Z","etag":null,"topics":["cache","enums","midleware","repository-pattern","request-validation","restfull-api","tdd"],"latest_commit_sha":null,"homepage":"","language":"HTML","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/mariodiasbatista.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":"2024-03-04T00:47:09.000Z","updated_at":"2025-02-21T00:47:30.000Z","dependencies_parsed_at":"2024-03-10T02:41:24.085Z","dependency_job_id":"379f3475-43ec-4e05-a3ec-a950a6c857ac","html_url":"https://github.com/mariodiasbatista/laravel-api","commit_stats":null,"previous_names":["mariogeovani/leaseweb","mariodiasbatista/laravel-api"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mariodiasbatista%2Flaravel-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mariodiasbatista%2Flaravel-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mariodiasbatista%2Flaravel-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mariodiasbatista%2Flaravel-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mariodiasbatista","download_url":"https://codeload.github.com/mariodiasbatista/laravel-api/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243809874,"owners_count":20351407,"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":["cache","enums","midleware","repository-pattern","request-validation","restfull-api","tdd"],"created_at":"2025-03-16T01:16:47.623Z","updated_at":"2026-01-02T08:31:40.364Z","avatar_url":"https://github.com/mariodiasbatista.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Laravel rest API\n\nThe goal of this project create an optimized Laravel API .\n\n\n## Running the application\n\n- In the case of not having git in your local follow these steps\nhttps://www.atlassian.com/git/tutorials/install-git\n### First time Setup\n```bash\ngit clone https://github.com/mariodiasbatista/laravel-api.git\n```\n\n- Copy the `.env.example` to `.env` and edit accordingly\n\n- Pull composer packages\n- on the case of not having composer follow these steps\nhttps://www.hostinger.com/tutorials/how-to-install-composer\n```bash\n./etc/bin/php composer install\n```\n  or\n```bash\ncomposer install\n```\n - Note in case of Ubunto :\n    - Go an issue with  ext-dg depedency\n        - sudo apt-get update\n        - php -v (check version to choose the correct php package version in my case 8.3)\n        - sudo apt-get install php8.3-gd\n    - Go an issue with ext-zip\n         - sudo apt-get install php8.3-zip\n\n    - And again\n```bash\n  ./etc/bin/php composer install\n  ```\n  or\n   ```bash\n  composer install\n  ```\n\n### First Time\n```bash\nsudo APP_PORT={the port you want the site to run}\n./vendor/bin/sail up\n```\n\n- Run the migrations\n```bash\n./vendor/bin/sail artisan migrate\n```\n\n### Every New Instance\n- Spin up the application\n```bash\n./vendor/bin/sail up\n```\n\n- if any issues on website local server plse check the local server port\nand also add to your env\n\nAPP_PORT=89\n\n- Go to webbrowser and in http:1270.0.1:89 (example) create the public key\n\n-  If MySql is returning network issue doe same  port being used please\ndo :\n\n```bash\ndocker-compose down --volumes\nsail up --build\n```\n\n- And again\n\n```bash\n./vendor/bin/sail artisan migrate\n```\n - Should be Up and running\n\n - to exit Sail just ctrl+c or\n```bash\n./vendor/bin/sail down\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmariodiasbatista%2Flaravel-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmariodiasbatista%2Flaravel-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmariodiasbatista%2Flaravel-api/lists"}