{"id":19724162,"url":"https://github.com/fastruby/projectx","last_synced_at":"2025-04-29T22:31:15.372Z","repository":{"id":149163974,"uuid":"561920066","full_name":"fastruby/projectx","owner":"fastruby","description":null,"archived":false,"fork":false,"pushed_at":"2025-01-09T15:23:51.000Z","size":162,"stargazers_count":0,"open_issues_count":0,"forks_count":6,"subscribers_count":6,"default_branch":"main","last_synced_at":"2025-04-05T20:04:38.575Z","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/fastruby.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":"CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-11-04T19:54:27.000Z","updated_at":"2024-06-10T14:06:40.000Z","dependencies_parsed_at":null,"dependency_job_id":"7e5ed983-0e21-4180-8ef3-894d91f7d0cb","html_url":"https://github.com/fastruby/projectx","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fastruby%2Fprojectx","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fastruby%2Fprojectx/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fastruby%2Fprojectx/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fastruby%2Fprojectx/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fastruby","download_url":"https://codeload.github.com/fastruby/projectx/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251593017,"owners_count":21614458,"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-11-11T23:24:44.757Z","updated_at":"2025-04-29T22:31:14.110Z","avatar_url":"https://github.com/fastruby.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Project X - A version of an Open Source project by OmbuLabs called Points\n\nThis project is used by the recruitment team for their Rails interview process.\n\n## Getting started\n\nTo get started with the app, clone the repo and then install the needed gems running the setup script:\n\n```bash\n./bin/setup\n```\n\n## Starting the Server\n\n```bash\nrails s\n```\n\nGo to http://localhost:3000\n\n## Login\n\nUse the `Sign in` with the `Sign in with Developer` option. Use any name/email pair (it will create a user if it doesn't exists). Use `admin`/`admin@projectx.com` to log in as an admin user.\n\n## Running Tests\n\n```bash\nrails spec\n```\n\n## Using Docker\n\n\u003e NOTE: You'll need to have docker and docker-compose installed\n\nBuild the ProjectX's docker image\n\n```bash\n./bin/setup_with_docker\n```\n\nRun the app\n\n```bash\n./bin/start_with_docker\n```\n\n### Change Capybara Driver\n\nBy default, we are using the Firefox driver to use Google Chrome driver\nfollow the instructions below.\n\nGo to `spec/rails_helper.rb`,\nuncomment `selenium_chrome` block and comment `headless_firefox` code block.\n\n## Admin Users\n\nUsers are created without admin privileges by default, because admin users have access to a few more features related to reports and setting real score of stories.\n\nCurrently, the only way to flag a user as `admin` is a direct database update using either postgres cli or the rails console.\n\nIf you want to set the flag for a user, you can follow these steps:\n\n```bash\nrails console\n```\n\nor\n\n```bash\ndocker-compose run --rm web rails console\n```\n\nand then:\n\n```ruby\nUser.find_by(email: \"user@example.com\").update_attribute(:admin, true)\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffastruby%2Fprojectx","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffastruby%2Fprojectx","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffastruby%2Fprojectx/lists"}