{"id":15524751,"url":"https://github.com/modelizer/hammer","last_synced_at":"2025-04-05T10:25:45.424Z","repository":{"id":97724051,"uuid":"144724806","full_name":"Modelizer/hammer","owner":"Modelizer","description":null,"archived":false,"fork":false,"pushed_at":"2018-08-15T01:16:45.000Z","size":232,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-17T21:18:35.247Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/Modelizer.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":"2018-08-14T13:34:12.000Z","updated_at":"2018-08-15T01:16:47.000Z","dependencies_parsed_at":"2023-07-06T10:16:00.999Z","dependency_job_id":null,"html_url":"https://github.com/Modelizer/hammer","commit_stats":{"total_commits":10,"total_committers":1,"mean_commits":10.0,"dds":0.0,"last_synced_commit":"7b470c5fb2bd47a68ea7ca1b18a7624f96e91ef0"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Modelizer%2Fhammer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Modelizer%2Fhammer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Modelizer%2Fhammer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Modelizer%2Fhammer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Modelizer","download_url":"https://codeload.github.com/Modelizer/hammer/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247321000,"owners_count":20919895,"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":[],"created_at":"2024-10-02T10:52:57.544Z","updated_at":"2025-04-05T10:25:45.404Z","avatar_url":"https://github.com/Modelizer.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Get started\n\n1. Clone this project and run `docker-compose up -d` to initialize the container. Note: `hammer` database will be created after this setup.\n2. After successful building containers you should see 4 containers running. \u003cimg width=\"461\" alt=\"screen shot 2018-08-14 at 4 37 06 pm\" src=\"https://user-images.githubusercontent.com/7669734/44095042-72c1c2e4-9fe0-11e8-8248-532b2ef0beda.png\"\u003e\n3. Test you connection to mysql via sequal pro by using creds given in .env file. Note: If you are not able to login then ssh into mysql container and run this command `mysql -u root \u003c /docker-entrypoint-initdb.d/createdb.sql` now you should be able to login by `default` username.\n4. Login to php container and run `composer install \u0026\u0026 php artisan migrate --seed` command. This will install dependencies and will create necessary tables and seed them with initial data such as services and cities.\n5. Now you are ready to test api. Please visit https://cvee.gitbook.io/my-hammer/ to get api documentation.\n\n### Notes:\n1. You can check routes api.php file inside routes folder.\n2. Initial database schema insider `2018_08_13_173327_create_jobs_setup` file in `database/migrations` folder\n3. Initial database table data in `DatabaseSeeder` class in `database/seeds` folder.\n4. JobController in `app/Http/Controllers`.\n5. JobValidation logic in `app/Http/Requests/ValidateJobRequest.php` file.\n6. I would have wrote test cases for this but found it will be too overwhelming.\n7. If you are facing issue with docker then you can use https://box.scotch.io/ vagrant file present in the directory.\nThen you need to manual setup database connection and overwrite in .env file\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmodelizer%2Fhammer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmodelizer%2Fhammer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmodelizer%2Fhammer/lists"}