{"id":19774675,"url":"https://github.com/yeukfei02/divisionly-api","last_synced_at":"2026-04-16T10:32:03.659Z","repository":{"id":43799954,"uuid":"424178481","full_name":"yeukfei02/divisionly-api","owner":"yeukfei02","description":"split expenses with friends","archived":false,"fork":false,"pushed_at":"2023-12-15T17:23:57.000Z","size":2003,"stargazers_count":1,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-02-28T11:53:45.214Z","etag":null,"topics":["hacktoberfest","postgres","rails","rspec","ruby","ruby-on-rails"],"latest_commit_sha":null,"homepage":"","language":"Ruby","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/yeukfei02.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-11-03T10:24:25.000Z","updated_at":"2022-10-02T06:15:36.000Z","dependencies_parsed_at":"2025-02-28T05:48:43.209Z","dependency_job_id":"486c288e-a7ae-42dc-92a4-0397e516a09a","html_url":"https://github.com/yeukfei02/divisionly-api","commit_stats":null,"previous_names":[],"tags_count":11,"template":false,"template_full_name":null,"purl":"pkg:github/yeukfei02/divisionly-api","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yeukfei02%2Fdivisionly-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yeukfei02%2Fdivisionly-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yeukfei02%2Fdivisionly-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yeukfei02%2Fdivisionly-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/yeukfei02","download_url":"https://codeload.github.com/yeukfei02/divisionly-api/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yeukfei02%2Fdivisionly-api/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266808556,"owners_count":23987450,"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-07-24T02:00:09.469Z","response_time":99,"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":["hacktoberfest","postgres","rails","rspec","ruby","ruby-on-rails"],"created_at":"2024-11-12T05:13:36.611Z","updated_at":"2026-04-16T10:31:58.633Z","avatar_url":"https://github.com/yeukfei02.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n  \u003cimg width=\"350px\" src=\"https://github.com/yeukfei02/divisionly-api/blob/main/readme-icon.png?raw=true\"\u003e\u003cbr/\u003e\n  \u003ch2 align=\"center\"\u003edivisionly-api\u003c/h2\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://codecov.io/gh/yeukfei02/divisionly-api\"\u003e\u003cimg src=\"https://codecov.io/gh/yeukfei02/divisionly-api/branch/main/graph/badge.svg?token=CT6XT3J9DM\" alt=\"\"\u003e\u003c/a\u003e\n\u003c/p\u003e\n\nsplit expenses with friends\n\ndocumentation: \u003chttps://documenter.getpostman.com/view/3827865/UVBzoVbG\u003e\n\n## Requirement\n\n- install ruby (v2.7.4)\n- install gem\n- install bundle\n- install yarn\n- install node (v14+)\n\n## Testing and run\n\n```zsh\n// install ruby dependencies\n$ bundle install\n\n// install node dependencies\n$ yarn\n\n// run api in local\n$ rails s\n\n// run rails console\n$ rails c\n\n// create controller\n$ rails g controller \u003ccontrollerName\u003e\n\n// create model\n$ rails g model \u003cmodelName\u003e\n\n// create migration file\n$ rails g migration \u003cmigrationName\u003e\n\n// db migration\n$ rails db:migrate\n\n// db rollback\n$ rails db:rollback\n\n// db reset\n$ rails db:migrate:reset\n\n// run db seed\n$ rails db:seed\n\n// create worker file\n$ rails g sidekiq:worker \u003cworkerName\u003e\n\n// create mailer file\n$ rails g mailer \u003cmailerName\u003e\n\n// list routes\n$ rails routes\n\n// run test case\n$ bundle exec rspec\n\n// start sidekiq\n$ bundle exec sidekiq\n\n// rubocop\n$ rubocop --auto-correct\n$ rubocop -A\n\n// reek\n$ reek\n\n// generate schema info in model\n$ annotate --models\n\n// audit Gemfile.lock\n$ bundler-audit\n```\n\n## Docker\n\n```zsh\n// build images and start container in one line\ndocker-compose up -d --build\n\n// run db migration in container\ndocker-compose exec web bundle exec rails db:migrate\n\n// go inside container\ndocker exec -it \u003ccontainerId\u003e /bin/bash\n\n// check container logs\ndocker logs \u003ccontainerId\u003e\n\n// remove and stop container\ndocker-compose down\n```\n\nopen localhost:3000","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyeukfei02%2Fdivisionly-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyeukfei02%2Fdivisionly-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyeukfei02%2Fdivisionly-api/lists"}