{"id":21031125,"url":"https://github.com/kylewelsby/crash-reporting-code-challenge","last_synced_at":"2025-09-04T19:12:37.276Z","repository":{"id":139749192,"uuid":"333861962","full_name":"kylewelsby/crash-reporting-code-challenge","owner":"kylewelsby","description":"Code Challenge completed for an issue tracking SaaS","archived":false,"fork":false,"pushed_at":"2021-01-29T00:23:29.000Z","size":63,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-13T19:45:10.023Z","etag":null,"topics":["code-challenge"],"latest_commit_sha":null,"homepage":"","language":"Ruby","has_issues":false,"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/kylewelsby.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","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},"funding":{"github":["kylewelsby"],"patreon":"soulectiontracklists","open_collective":null,"ko_fi":"mekyle","tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"custom":null}},"created_at":"2021-01-28T18:57:20.000Z","updated_at":"2021-01-29T00:24:44.000Z","dependencies_parsed_at":null,"dependency_job_id":"14afc13c-8f69-4359-8976-9d6717330132","html_url":"https://github.com/kylewelsby/crash-reporting-code-challenge","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/kylewelsby/crash-reporting-code-challenge","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kylewelsby%2Fcrash-reporting-code-challenge","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kylewelsby%2Fcrash-reporting-code-challenge/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kylewelsby%2Fcrash-reporting-code-challenge/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kylewelsby%2Fcrash-reporting-code-challenge/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kylewelsby","download_url":"https://codeload.github.com/kylewelsby/crash-reporting-code-challenge/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kylewelsby%2Fcrash-reporting-code-challenge/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273657958,"owners_count":25145200,"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","status":"online","status_checked_at":"2025-09-04T02:00:08.968Z","response_time":61,"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":["code-challenge"],"created_at":"2024-11-19T12:24:26.917Z","updated_at":"2025-09-04T19:12:32.264Z","avatar_url":"https://github.com/kylewelsby.png","language":"Ruby","funding_links":["https://github.com/sponsors/kylewelsby","https://patreon.com/soulectiontracklists","https://ko-fi.com/mekyle"],"categories":[],"sub_categories":[],"readme":"![Lint \u0026 Test](https://github.com/kylewelsby/crash-reporting-code-challenge/workflows/Lint%20\u0026%20Test/badge.svg)\n[![Ruby Style Guide](https://img.shields.io/badge/code_style-standard-brightgreen.svg)](https://github.com/testdouble/standard)\n\n# Crash Notifier Code Challenge\n\nCode Challenge completed by [Kyle Welsby](https://github.com/kylewelsby).\n\nIn this code challenge, I am tasked to produce a Application Crash notification processing API endpoint as setout in [CHALLENGE.md](./CHALLENGE.md)\n\nUseful notes and todos througout the development can be found in [TODO](./blame/main/TODO)\n\n## ⚡️ System Dependencies\n\nThis project expects Ruby 2.7.2, PostgreSQL, and Redis installed on your system. \n\n_At time of writing Ruby 3.0 has recently been released, but 2.7.2 is the current stable version_\n\n## 🎲 Installation\n\nClone the project to your local system and run bundler in the project directory\n\n```\ngit clone https://github.com/kylewelsby/crash-reporting-code-challenge.git\ncd crash-reporting-code-challenge\nbundle install\n```\n\nSetup the database \n\n```\nbundle exec rails db:setup db:migrate\n```\n\n## 🎯 Usage\n\nStart the application instance and workers using foreman\n\n```\nbundle exec foreman start\n```\n\nYou can make requests such as:\n\n#### Notify\n\nNotify of a application crash\n\n```\ncurl -X POST \\\n  'http://localhost:5000/notify' \\\n  -H 'access-control-allow-origin: *' \\\n  -H 'Content-Type: application/json; charset=utf-8' \\\n  -d '{\n  \"project_id\": \"1\",\n  \"severity\": \"error\",\n  \"message\": \"a error message\"\n}'\n```\n\n#### Stats\n\nShow counters of crashes\n\n```\ncurl http://localhost:5000/projects/1/stats\n```\n\n## 🤖 Testing\n\nRun RSpec tests suite \n\n```\nbundle exec rspec\n```\n\n## 🚨 Linting\n\nThis project uses [`standardrb`](https://github.com/testdouble/standard).\n\n```\nbundle exec standardrb .\n```\n\n🎓 License\n\nMIT: https://kylewelsby.mit-license.org","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkylewelsby%2Fcrash-reporting-code-challenge","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkylewelsby%2Fcrash-reporting-code-challenge","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkylewelsby%2Fcrash-reporting-code-challenge/lists"}