{"id":16537807,"url":"https://github.com/acdcjunior/pocket-stars","last_synced_at":"2026-05-27T23:31:13.509Z","repository":{"id":144982207,"uuid":"406527113","full_name":"acdcjunior/pocket-stars","owner":"acdcjunior","description":null,"archived":false,"fork":false,"pushed_at":"2021-09-23T18:11:47.000Z","size":433,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-03T21:09:18.774Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Ruby","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/acdcjunior.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":"2021-09-14T21:32:23.000Z","updated_at":"2021-09-23T18:11:50.000Z","dependencies_parsed_at":"2023-04-20T10:02:05.116Z","dependency_job_id":null,"html_url":"https://github.com/acdcjunior/pocket-stars","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/acdcjunior/pocket-stars","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/acdcjunior%2Fpocket-stars","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/acdcjunior%2Fpocket-stars/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/acdcjunior%2Fpocket-stars/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/acdcjunior%2Fpocket-stars/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/acdcjunior","download_url":"https://codeload.github.com/acdcjunior/pocket-stars/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/acdcjunior%2Fpocket-stars/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33588345,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-05-27T02:00:06.184Z","response_time":53,"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":[],"created_at":"2024-10-11T18:43:30.157Z","updated_at":"2026-05-27T23:31:13.490Z","avatar_url":"https://github.com/acdcjunior.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# pocket-stars\n\nA very simple realtime review+rating app powered by Rails and React/jQuery.\n\nDemo:\n- https://pocket-stars-mvp.herokuapp.com/ (MVP, jQuery)\n- https://pocket-stars-v2.herokuapp.com/ (realtime, half-star support, React)\n\nSee the [ADRs folder](_doc/adr) for important architectural notes.\n\n\n## Development\n\n#### Initial setup\n\n```shell\n$ cd pocket-stars # go to project root\n$ bundle install\n$ rails webpacker:install\n```\n\n#### Database setup\n\nYou now need to setup a database. This app uses MySQL. You can use the docker-compose file in [`_dev`](_dev/docker-compose.yml):\n\n```shell\n$ cd pocket-stars # go to project root\n$ cd _dev\n$ docker-compose up\n```\n\nFor maintenance using a UI, you can open http://localhost:8888/ and use the credentials: `server=db`, `user=root` and `password=pass`.\n\n#### Database migration\n\n```shell\n$ cd pocket-stars # go to project root\n$ rake db:create\n$ rake db:migrate\n```\n\n#### Starting the app\n\n```shell\n$ cd pocket-stars # go to project root\n$ rails server\n```\n\nApp should now be accessible on http://127.0.0.1:3000/.\n\n## Running tests\n\n```shell\n$ cd pocket-stars # go to project root\n$ rake db:create RAILS_ENV=test # if you haven't already\n$ rake db:migrate  # if you haven't already\n$ rails test # all but system tests\n$ rails test:system # system tests\n$ rails test:all # ALL tests\n```\n\nTroubleshooting: if you tests fail randomly due to parallel execution (e.g. file locking, streams closing),\ntry disabling it at [`test_helper.rb`](test/test_helper.rb#L7).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Facdcjunior%2Fpocket-stars","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Facdcjunior%2Fpocket-stars","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Facdcjunior%2Fpocket-stars/lists"}