{"id":16989134,"url":"https://github.com/blackmann/js-react-frontend-test","last_synced_at":"2025-08-08T04:44:49.032Z","repository":{"id":37842845,"uuid":"499481371","full_name":"blackmann/js-react-frontend-test","owner":"blackmann","description":null,"archived":false,"fork":false,"pushed_at":"2022-07-05T21:19:40.000Z","size":1684,"stargazers_count":0,"open_issues_count":2,"forks_count":6,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-15T12:16:58.802Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/blackmann.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}},"created_at":"2022-06-03T11:12:03.000Z","updated_at":"2023-03-17T13:03:17.000Z","dependencies_parsed_at":"2022-06-23T00:22:54.591Z","dependency_job_id":null,"html_url":"https://github.com/blackmann/js-react-frontend-test","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/blackmann/js-react-frontend-test","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blackmann%2Fjs-react-frontend-test","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blackmann%2Fjs-react-frontend-test/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blackmann%2Fjs-react-frontend-test/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blackmann%2Fjs-react-frontend-test/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/blackmann","download_url":"https://codeload.github.com/blackmann/js-react-frontend-test/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blackmann%2Fjs-react-frontend-test/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265173339,"owners_count":23722554,"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-10-14T03:05:32.577Z","updated_at":"2025-07-13T16:32:43.274Z","avatar_url":"https://github.com/blackmann.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# js-react-frontend-test\n\nIn this test, you're required to regroup the schedule activities based on the following criteria:\n\n- Group events for the current week. Separate the activities under following titles\n    - Today\n    - Tomorrow\n    - The rest should follow the format like: Thu, May 30, Fri, May 31, ... until the week ends. Rely on `dayjs` to help\n      get end of week (based on locale).\n\n  _For activities in this group, only show the time (with the instructor) in the footer._\n\n\n- Group events for the following (1) week with the title \"Next week\"\n    - Show the day, date and instructor (Mon, May 5 • Instructor)\n\n\n- Group events for the rest of the days after the following week all into one.\n    - Show just date and instructor\n    - Only display up to 5 activities (if even activities under this are more than 5)\n\n\n- Only display a group of activities when there's at least one activity in it.\n\n- Only activities from today onwards are provided. _Do not worry about yesterday_.\n\n- NOTE: All activities have to be sorted in ascending order\n\n## Expected grouping visualization\n\n- Today\n    - Activity 1\n    - Activity 2\n\n\n- Tomorrow\n    - Activity 3\n\n\n- Fri, 30 May\n    - Activity 4\n    - Activity 5\n    - Activity 6\n\n\n- Sun, 1 Jun\n    - Activity 7\n\n\n- Next week\n    - Activity 8\n    - Activity 9\n    - Activity 10\n    - Activity 11\n\n\n- In future \u003c- Here goes the rest\n    - Activity ...\n    - Activity ...\n\n![Preview of results](public/preview.png)\n\n## References:\n\nMDN: https://developer.mozilla.org/en-US/\n\nReact: https://reactjs.org\n\nDayjs: https://day.js.org/docs/en/","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fblackmann%2Fjs-react-frontend-test","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fblackmann%2Fjs-react-frontend-test","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fblackmann%2Fjs-react-frontend-test/lists"}