{"id":18340215,"url":"https://github.com/momi-foundation-coding/create-groups","last_synced_at":"2026-03-19T03:59:11.384Z","repository":{"id":98777177,"uuid":"537293531","full_name":"momi-foundation-coding/create-groups","owner":"momi-foundation-coding","description":"Create groups based on items provided. ","archived":false,"fork":false,"pushed_at":"2022-11-11T12:44:09.000Z","size":361,"stargazers_count":0,"open_issues_count":0,"forks_count":2,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-04-09T20:48:21.345Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"HTML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/momi-foundation-coding.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":"2022-09-16T03:37:01.000Z","updated_at":"2022-09-16T08:36:48.000Z","dependencies_parsed_at":"2023-05-25T07:45:36.084Z","dependency_job_id":null,"html_url":"https://github.com/momi-foundation-coding/create-groups","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/momi-foundation-coding/create-groups","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/momi-foundation-coding%2Fcreate-groups","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/momi-foundation-coding%2Fcreate-groups/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/momi-foundation-coding%2Fcreate-groups/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/momi-foundation-coding%2Fcreate-groups/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/momi-foundation-coding","download_url":"https://codeload.github.com/momi-foundation-coding/create-groups/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/momi-foundation-coding%2Fcreate-groups/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28633747,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-21T04:47:28.174Z","status":"ssl_error","status_checked_at":"2026-01-21T04:47:22.943Z","response_time":86,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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-11-05T20:21:35.149Z","updated_at":"2026-01-21T13:02:28.797Z","avatar_url":"https://github.com/momi-foundation-coding.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Netlify Status](https://api.netlify.com/api/v1/badges/e55b8400-46c3-44b0-96d1-cb101549dd1a/deploy-status)](https://app.netlify.com/sites/create-groups/deploys) \n# Create Groups\n\nThis projects helps people create groups based on the items provided.\n[click here](https://create-groups.netlify.app/) to see the website\n\n# What Are some of the Task \n\n1. Groups based on items \n\n```javascript\n// Example\n\nconst grouping = (items, noPerGroup) =\u003e {\n    // group the items[] by the number per group\n}\n```\n\n2. Allow CSV Upload \n\n```javascript\n// Example\n\nconst upload = (file, columnName, noPerGroup) =\u003e {\n    // columnName -\u003e the colunm we are pulling the numbers from -\u003e can advance this in the future\n    // check the type of file, for now allow - Array, JSON, CSV and xls\n    // convert JSON, then Array -\u003e or direcly to array.\n    // Call the grouping function to perform grouping.\n    const items = file // data after pulling from file\n    const results = grouping(items, noPerGroup)\n    return results\n}\n\n```\n\n3. Allow Spreadsheet Upload \n\n```javascript\n// Make sure can upload spreadsheet \n// Make use of upload function shown above\n\n```\n\n4. Save in computer/phone local storage\n\n```javascript\n// Save to local storage for sometime. (and display)\n// localStorage.setItem(), etc methods\n\n```\n\n\n5. Other ideas \n    a. Allow multiple selection using other characters e.g gender balance groups\n    b. Think of other metrics\n\n# Example \n\n\nTake for instance, `[student1, student2, student3, student4, student5, student6]` and group them into groups of `2 students`, example of result might be:\n```\nGroup 1 - [student1, student3]\nGroup 2 - [student2, student6]\nGroup 3 - [student4, student5]\n```\n\n# Contributors \n\n\u003ca href=\"https://github.com/momi-foundation-coding/create-groups/graphs/contributors\"\u003e\n  \u003cimg src=\"https://contrib.rocks/image?repo=momi-foundation-coding/create-groups\" width=\"30\" /\u003e\n\u003c/a\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmomi-foundation-coding%2Fcreate-groups","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmomi-foundation-coding%2Fcreate-groups","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmomi-foundation-coding%2Fcreate-groups/lists"}