{"id":21934611,"url":"https://github.com/ridermansb/daily-ai-challenge","last_synced_at":"2026-05-09T15:35:40.122Z","repository":{"id":254362802,"uuid":"846147627","full_name":"Ridermansb/daily-ai-challenge","owner":"Ridermansb","description":"Subscriber Analytics Dashboard","archived":false,"fork":false,"pushed_at":"2024-08-26T17:44:37.000Z","size":1801,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-27T13:11:50.193Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://daily-ai-challenge.ridermansb.dev","language":"TypeScript","has_issues":false,"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/Ridermansb.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":"2024-08-22T16:12:39.000Z","updated_at":"2024-10-21T12:30:10.000Z","dependencies_parsed_at":"2024-08-23T01:28:57.578Z","dependency_job_id":"e1055dac-5ce5-4d4a-9190-4db81676e484","html_url":"https://github.com/Ridermansb/daily-ai-challenge","commit_stats":null,"previous_names":["ridermansb/daily-ai-challenge"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ridermansb%2Fdaily-ai-challenge","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ridermansb%2Fdaily-ai-challenge/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ridermansb%2Fdaily-ai-challenge/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ridermansb%2Fdaily-ai-challenge/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Ridermansb","download_url":"https://codeload.github.com/Ridermansb/daily-ai-challenge/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244966458,"owners_count":20539794,"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-29T00:16:25.671Z","updated_at":"2026-05-09T15:35:35.083Z","avatar_url":"https://github.com/Ridermansb.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Update Codecov](https://github.com/Ridermansb/daily-ai-challenge/actions/workflows/codecov.yml/badge.svg)](https://github.com/Ridermansb/daily-ai-challenge/actions/workflows/codecov.yml)\n[![codecov](https://codecov.io/github/Ridermansb/daily-ai-challenge/graph/badge.svg?token=0nHnoLajGS)](https://codecov.io/github/Ridermansb/daily-ai-challenge)\n\n\u003e Resolution for daily.ai [code challenge][0]\n\nThis project is hosted on [vercel][vercel-project].\n\n## Getting Started\n\n- Ensure you have **node 20** (can be installed via [nvm][nvm-website])\n- Install packages `npm install`\n\n- Create `.env` file with\n\n```\nNEXT_PUBLIC_API_URL=http://localhost:3001\n```\n\n\u003e This is the `json-server` URL\n\n- Run the development server:\n\n```bash\nnpm run dev\n```\n\nOpen [http://localhost:3000](http://localhost:3000) with your browser to see the result.\n\n## Test\n\n- just execute `npm test`\n\n## Written Questions\n\n**How would you modify your solution to handle real-time updates for a large number of subscribers (e.g., 1 million+)? Consider both frontend and backend implications.?**\n\n\u003e For real-time updates, I typically go with a database like Firebase that handles real-time data sync out of the box, so I can focus more on the application itself. Other options include using WebSockets for real-time communication, long polling, or pulling the data at set intervals, depending on the specific needs and scale of the application\n\n**Describe how you would measure and improve the performance of your application. What metrics would you focus on, and what techniques would you employ?**\n\n\u003e For the front end, I focus on Core Web Vitals metrics to measure performance. Tools like Lighthouse can help track and optimize these metrics. On the backend, slow database queries are often the main issue. To identify and fix these, I use monitoring tools like Datadog or Sentry, which provide insights into performance bottlenecks across the system.\n\nAll questions was publish on [Github Discussions Page][1]\n\n\u003c!-- links --\u003e\n\n[0]: https://dailyai.notion.site/Senior-Frontend-Engineer-Take-Home-Project-c230fc7f08ef49ffb690611664d375db?pvs=74\n[vercel-project]: https://vercel.com/riderman-de-sousa-barbosas-projects/daily-ai-challenge\n[nvm-website]: https://github.com/nvm-sh/nvm\n[1]: https://github.com/Ridermansb/daily-ai-challenge/discussions/categories/q-a\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fridermansb%2Fdaily-ai-challenge","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fridermansb%2Fdaily-ai-challenge","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fridermansb%2Fdaily-ai-challenge/lists"}