{"id":15444940,"url":"https://github.com/vrcmarcos/collision","last_synced_at":"2025-03-28T08:14:55.968Z","repository":{"id":72818409,"uuid":"74848611","full_name":"vrcmarcos/collision","owner":"vrcmarcos","description":"A Clojure project that solves the fraud problem","archived":false,"fork":false,"pushed_at":"2016-11-26T20:22:10.000Z","size":31,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-02T08:44:36.783Z","etag":null,"topics":["algorithm-complexity","clojure","collision","luminus"],"latest_commit_sha":null,"homepage":"","language":"Clojure","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/vrcmarcos.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":"2016-11-26T20:21:54.000Z","updated_at":"2017-04-25T14:40:44.000Z","dependencies_parsed_at":null,"dependency_job_id":"2248258b-139a-4a1e-984b-e74eff785a30","html_url":"https://github.com/vrcmarcos/collision","commit_stats":{"total_commits":16,"total_committers":1,"mean_commits":16.0,"dds":0.0,"last_synced_commit":"9ea4ba4b9967ee60ebecc6601c3fe7142b22e7fc"},"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vrcmarcos%2Fcollision","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vrcmarcos%2Fcollision/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vrcmarcos%2Fcollision/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vrcmarcos%2Fcollision/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vrcmarcos","download_url":"https://codeload.github.com/vrcmarcos/collision/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245991585,"owners_count":20706129,"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":["algorithm-complexity","clojure","collision","luminus"],"created_at":"2024-10-01T19:43:18.666Z","updated_at":"2025-03-28T08:14:55.946Z","avatar_url":"https://github.com/vrcmarcos.png","language":"Clojure","readme":"# Collision\n\n[![Build Status](https://travis-ci.org/vrcmarcos/collision.svg?branch=master)](https://travis-ci.org/vrcmarcos/collision) [![Coverage Status](https://coveralls.io/repos/github/vrcmarcos/collision/badge.svg?branch=master)](https://coveralls.io/github/vrcmarcos/collision?branch=master)\n\nA [Clojure](http://clojure.org/) project that solves the [fraud problem](https://github.com/vrcmarcos/collision/blob/master/PROBLEM.md).\n\n## WebServer\n\nThe solutions is hosted on Heroku. You can see it live by clicking [on this link](https://powerful-fjord-35264.herokuapp.com/).\n\n## Endpoints\n\n- `GET \"/\"`: Shows the current networks list\n\n\t```bash\n    curl -X GET \"https://powerful-fjord-35264.herokuapp.com/\"\n    ```\n- `PUT \"/\" [collision \"node1 node2\"]`: Add a new collision to the network list\n\n\t```bash\n    curl -X PUT -F \"collision=100 20\" \"https://powerful-fjord-35264.herokuapp.com/\"\n    ```\n- `GET \"/same_network?node1={node_1}\u0026node2={node_2}\"`: Shows if the `{node_1}` belongs to the same networks that `{node_2}` belongs\n\n\t```bash\n\tcurl -X GET \"https://powerful-fjord-35264.herokuapp.com/same_network?node1=13\u0026node2=89\"\n    ```\n\n## Algorithm Complexity\n\nYou can check the actual algorithms complexity on the below list:\n\n- Add new collision: O(n^2)\n- Check if two nodes belongs to the same collision: O(n^2)\n\n## Environment setup\n\n### MacOS\n\n```bash\nbrew install leiningen\n```\n\n## Running\n\n- `lein run`: Run the web server (Default port: 3000)\n- `lein test`: Run unit tests\n\n## Frameworks/Libraries used:\n\n- [Luminus Web Framework](http://www.luminusweb.net/)","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvrcmarcos%2Fcollision","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvrcmarcos%2Fcollision","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvrcmarcos%2Fcollision/lists"}