{"id":51029034,"url":"https://github.com/quavedev/code-challenge-rails","last_synced_at":"2026-06-21T22:04:09.464Z","repository":{"id":359438631,"uuid":"1246038831","full_name":"quavedev/code-challenge-rails","owner":"quavedev","description":"Quave code challenge for ruby on rails","archived":false,"fork":false,"pushed_at":"2026-05-21T21:46:35.000Z","size":45,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-05-22T06:58:56.666Z","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/quavedev.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-05-21T20:11:58.000Z","updated_at":"2026-05-21T21:46:39.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/quavedev/code-challenge-rails","commit_stats":null,"previous_names":["quavedev/code-challenge-rails"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/quavedev/code-challenge-rails","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/quavedev%2Fcode-challenge-rails","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/quavedev%2Fcode-challenge-rails/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/quavedev%2Fcode-challenge-rails/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/quavedev%2Fcode-challenge-rails/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/quavedev","download_url":"https://codeload.github.com/quavedev/code-challenge-rails/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/quavedev%2Fcode-challenge-rails/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34627284,"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-06-21T02:00:05.568Z","response_time":54,"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":"2026-06-21T22:04:08.692Z","updated_at":"2026-06-21T22:04:09.457Z","avatar_url":"https://github.com/quavedev.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Quave Code Challenge\n\nWant to join Quave as a developer?\n\nGreat! Read this document and submit your solution.\n\nWe hire full stack developers only, so you must be comfortable with both front-end and back-end development.\n\nGood luck!\n\n\u003e Not sure if we have open positions right now? Check our [Join repository](https://github.com/quavedev/join/issues/).\n\n# Submission\n\n## Getting Started\n\nCreate a private github repository from this template and share it with us: @renanccastro @filipenevola @rafaportobraga.\n\n## Review\n\nReady for review? Fill out this [form](https://forms.gle/m2FTwSG8bcMfhS3JA).\n\nYou will provide a link to your solution repository in the form and also a cover letter. In the letter you should explain why you're a great fit and what you'll bring to Quave.\n\n## Feedback\n\nWe'll give you feedback based on the position description. Check the timeline section in the job posting for feedback deadlines.\n\n# Code Stack and Environment\n\n## Introduction\n\nAt Quave, we use React and Ruby on Rails for some clients, projects, and products.\n\nReact is a popular JavaScript library for building user interfaces efficiently, while Rails is a battle-tested, opinionated full-stack framework that lets a small team ship a lot of product.\n\nOur stack leverages React for the frontend, providing excellent component-based architecture with reusable UI components, paired with Rails' productivity features including:\n- Authentication (Devise)\n- Background Jobs (Active Job, Sidekiq)\n- Active Record + migrations\n- REST APIs (Action Controller / Jbuilder)\n- Real-time updates (Action Cable / Turbo)\n- Email Services (Action Mailer)\n- And more\n\n## Required Stack\n\nWe want to see your Angular and Ruby skills.\n\nYour solution must use:\n- Frontend: Angular 20 (standalone components, TypeScript)\n- Backend: Ruby on Rails 8 (API mode is fine)\n- Database: SQLite (Rails 8 default)\n- Styling: Tailwind CSS\n- Ruby Dependency Management: Bundler\n- Ruby Code Style: RuboCop (`rubocop-rails-omakase` defaults)\n\nThe solution must:\n- Use the same data structure as the provided seed data (`backend/seed.json`)\n- Work with `npm i \u0026\u0026 npm start` for the frontend\n- Work with `bundle install` for the backend\n- Include clear setup instructions\n- Be compatible with the latest LTS version of Node.js and Ruby 3.2+\n- Use RuboCop for Ruby linting/formatting with standard configuration\n\n# Scope\n\n## Requirements\n\nBuild a mini-app for event check-ins. The home page needs:\n\n1. Event selector showing event names from the `communities` table\n   - Default text: \"Select an event\"\n\n2. List of registered people from the `people` table showing:\n   - Full name (first + last name)\n   - Company name\n   - Title\n   - Check-in date (MM/DD/YYYY, HH:mm or N/A)\n   - Check-out date (MM/DD/YYYY, HH:mm or N/A)\n   - \"Check-in {person name}\" button\n   - \"Check-out {person name}\" button (shows 5 seconds after check-in)\n\n3. Event summary showing:\n   - Current attendee count\n   - Company breakdown of current attendees\n   - Number of people not checked in\n\nThe page should maintain an up-to-date view of the data, ensuring users see changes promptly. You can poll, use Action Cable + an Angular WebSocket service, RxJS streams, or any other approach you prefer — explain your trade-offs in the cover letter.\n\n## Implementation Rules\n\n1. Use:\n   - Ruby on Rails for the backend API\n   - Angular for frontend views\n   - SQLite for data\n   - TailwindCSS for styling\n   - Bundler for Ruby dependency management\n\n2. App must:\n   - Have clear setup instructions in README\n   - Run frontend on port `3000`\n   - Run backend on port `8000`\n   - Include proper database schema and migrations\n   - Include API documentation (a short section in the README is fine)\n   - Use RuboCop for Ruby code style\n\n# Project Layout\n\n```\n.\n├── backend/      # Rails 8 API (SQLite, Bundler, RuboCop)\n│   ├── app/\n│   ├── config/\n│   ├── db/\n│   │   ├── migrate/\n│   │   └── seeds.rb       # loads backend/seed.json\n│   ├── seed.json          # shared fixture data\n│   ├── Gemfile\n│   └── ...\n└── frontend/     # Angular 20 + Tailwind CSS v4\n    ├── src/\n    │   ├── app/             # standalone-component app\n    │   ├── styles.css       # @import \"tailwindcss\"\n    │   └── proxy.conf.json  # proxies /api and /health to :8000\n    ├── angular.json\n    ├── package.json\n    └── ...\n```\n\n# Setup\n\n## Prerequisites\n\n- Ruby 3.2+ (3.3 recommended — see `backend/.ruby-version`)\n- Bundler (`gem install bundler`)\n- Node.js LTS (20+)\n\nSQLite is bundled — no separate database server to install or run.\n\n## Backend\n\n```bash\ncd backend\nbundle install\nbin/rails db:create db:migrate db:seed\nbin/rails server -p 8000\n```\n\nYou should see the backend at http://localhost:8000 and a health check at http://localhost:8000/health.\n\nThe candidate is expected to implement the actual API endpoints — the controllers in `backend/app/controllers/api/` and the model bodies are intentionally stubbed with `TODO` comments.\n\n## Frontend\n\n```bash\ncd frontend\nnpm install\nnpm start\n```\n\nThe Angular dev server runs at http://localhost:3000. Requests to `/api/*` and `/health` are proxied to the Rails backend on `http://localhost:8000` (see `src/proxy.conf.json`), so the frontend can call `fetch('/api/communities')` directly with no CORS gymnastics during development.\n\n## Linting\n\n```bash\ncd backend \u0026\u0026 bundle exec rubocop\n```\n\n# AI Tools\n\nYou can use AI tools to generate code, but you must:\n1. Understand all generated code\n2. Explain why it's the best solution\n3. Answer any related questions in the interview\n\nNot understanding your code = disqualification.\n\n# Note\n\nWe won't answer questions about this challenge to ensure fair evaluation.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fquavedev%2Fcode-challenge-rails","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fquavedev%2Fcode-challenge-rails","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fquavedev%2Fcode-challenge-rails/lists"}