{"id":28546233,"url":"https://github.com/krisfur/golang-rest-api","last_synced_at":"2026-05-02T05:39:04.559Z","repository":{"id":297855289,"uuid":"995063456","full_name":"krisfur/golang-rest-api","owner":"krisfur","description":"An interactive web app that demonstrates concurrent KMeans clustering, GO backend and Node.js frontend.","archived":false,"fork":false,"pushed_at":"2025-06-07T22:18:39.000Z","size":352,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-06-07T23:22:14.102Z","etag":null,"topics":["clustering","golang","goroutines","kmeans-clustering","nodejs","rest-api","webapp"],"latest_commit_sha":null,"homepage":"","language":"Go","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/krisfur.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}},"created_at":"2025-06-02T23:07:20.000Z","updated_at":"2025-06-07T22:18:42.000Z","dependencies_parsed_at":"2025-06-07T23:36:26.288Z","dependency_job_id":null,"html_url":"https://github.com/krisfur/golang-rest-api","commit_stats":null,"previous_names":["krisfur/golang-rest-api"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/krisfur/golang-rest-api","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/krisfur%2Fgolang-rest-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/krisfur%2Fgolang-rest-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/krisfur%2Fgolang-rest-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/krisfur%2Fgolang-rest-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/krisfur","download_url":"https://codeload.github.com/krisfur/golang-rest-api/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/krisfur%2Fgolang-rest-api/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264027770,"owners_count":23546135,"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":["clustering","golang","goroutines","kmeans-clustering","nodejs","rest-api","webapp"],"created_at":"2025-06-09T23:09:07.450Z","updated_at":"2026-05-02T05:39:04.496Z","avatar_url":"https://github.com/krisfur.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Concurrent KMeans Lab\n\n![Go](https://img.shields.io/badge/Go-00ADD8?style=flat\u0026logo=go\u0026logoColor=white)    [![Go](https://img.shields.io/badge/Go-1.24.4-blue)](https://go.dev/)   ![Node.js](https://img.shields.io/badge/Node.js-339933?style=flat\u0026logo=node.js\u0026logoColor=white) [![Node.js](https://img.shields.io/badge/Node.js-22.15.1-brightgreen)](https://nodejs.org/)\n\nAn interactive web app that demonstrates **concurrent KMeans clustering** in Go.  \n\n![Screenshot](screenshot.png)\n\n## 🚀 Features\n- **Go Backend:** Concurrent clustering of datasets using goroutines\n- **Frontend:** Node.js with vanilla JavaScript and Chart.js\n- **Responsive Layout:** Charts scale nicely to different screen sizes\n- **Catppuccin Mocha Theme:** Visually appealing, dark-mode friendly\n\n## ⚙️ How it works\n- 9 unique datasets generated randomly\n- Dynamic selection of cluster count (K)\n- Run clustering on existing data or generate new data with a single click\n- Visual comparison of clustering results in a 3x3 responsive grid\n\n## 🛠️ Getting Started\n\n1. Clone the repo:\n    ```bash\n    git clone https://github.com/YOUR_USERNAME/concurrent-kmeans-lab.git\n    cd concurrent-kmeans-lab\n    ```\n\n2. Build and run the Go backend:\n    ```bash\n    cd api\n    go run main.go\n    ```\n\n3. Start the frontend:\n    ```bash\n    cd frontend\n    npm install\n    npm start\n    ```\n\n4. Visit [http://localhost:3000](http://localhost:3000) in your browser.\n\n## 📝 License\n\nMIT License.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkrisfur%2Fgolang-rest-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkrisfur%2Fgolang-rest-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkrisfur%2Fgolang-rest-api/lists"}