{"id":18654067,"url":"https://github.com/eduhcastro/trade-items","last_synced_at":"2025-07-24T05:36:05.823Z","repository":{"id":49195922,"uuid":"359506350","full_name":"eduhcastro/Trade-Items","owner":"eduhcastro","description":"A User X User item exchange system.","archived":false,"fork":false,"pushed_at":"2023-01-30T02:43:10.000Z","size":18465,"stargazers_count":1,"open_issues_count":0,"forks_count":3,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-06T08:06:12.521Z","etag":null,"topics":["expressjs","items","javascript","nodejs","trade","websocket"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/eduhcastro.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-04-19T15:22:10.000Z","updated_at":"2022-03-10T15:29:55.000Z","dependencies_parsed_at":"2023-01-30T21:00:50.303Z","dependency_job_id":null,"html_url":"https://github.com/eduhcastro/Trade-Items","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/eduhcastro/Trade-Items","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eduhcastro%2FTrade-Items","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eduhcastro%2FTrade-Items/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eduhcastro%2FTrade-Items/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eduhcastro%2FTrade-Items/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/eduhcastro","download_url":"https://codeload.github.com/eduhcastro/Trade-Items/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eduhcastro%2FTrade-Items/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266796883,"owners_count":23985491,"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","status":"online","status_checked_at":"2025-07-24T02:00:09.469Z","response_time":99,"last_error":null,"robots_txt_status":null,"robots_txt_updated_at":null,"robots_txt_url":"https://github.com/robots.txt","online":true,"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":["expressjs","items","javascript","nodejs","trade","websocket"],"created_at":"2024-11-07T07:13:55.200Z","updated_at":"2025-07-24T05:36:05.798Z","avatar_url":"https://github.com/eduhcastro.png","language":"JavaScript","readme":"\n\n\n\n\u003c!-- PROJECT LOGO --\u003e\n\u003cbr /\u003e\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://github.com/skillerm/Trade-Items\"\u003e\n    \u003cimg src=\"https://www.freepngimg.com/thumb/business/63065-business-icons-sales-trade-computer-gmail.png\" alt=\"Logo\" width=\"80\" height=\"80\"\u003e\n  \u003c/a\u003e\n\n  \u003ch3 align=\"center\"\u003eTrade Items\u003c/h3\u003e\n\n  \u003cp align=\"center\"\u003e\n    An item exchange system using LowDB and Socket.io\n    \u003cbr /\u003e\n\u003c/p\u003e\n\n\n\n\n\u003c!-- ABOUT THE PROJECT --\u003e\n## How to use :rocket:\n\nThe System does not exist login, you can access the trade using 2 parameters\n  ```sh\n  http://yourdomain.com/trade?session=yKgyjt3jp6WT5ZQvUGWSvJmnCMu8c9r2\u0026user=skillerm22\n  ```\n\n### Details\n\n1. session: It would be the session url, you can see/add the sessions in (Session-PB.json) file\n2. user: user that will be used in the session, you can see/add users in the (Users-PB.json) file\n\nAlert: Change the url to the url the system will run on. File (Socket.js)🎮\n   ```JS\n  module.exports = function(io, chalk, Getting, ClassPB) {\n    io.sockets.on('connect', function(socket) {\n        var Stringg = socket.handshake.headers.referer\n        try {\n            var Sessao = Stringg.split(\"https://trade-castroms.herokuapp.com/trade?session=\")\n            var Splitado = Sessao[1].split(\"\u0026user=\")\n            var SessaoCorreta = Splitado[0]\n            var UsuarioCorreto = Splitado[1]\n        } catch (e) {\n            var Sessao = Stringg.split(\"https://trade-castroms.herokuapp.com/trade?user=\")\n            var Splitado = Sessao[1].split(\"\u0026session=\")\n            var SessaoCorreta = Splitado[1]\n            var UsuarioCorreto = Splitado[0]\n        }...\n   ```\n\n\n## Test 🎮\n\nYou can test the system online.  \n\nUser 1: https://trade-castroms.herokuapp.com/trade?session=yKgyjt3jp6WT5ZQvUGWSvJmnCMu8c9r2\u0026user=eduhcastro19\n\nUser 2: https://trade-castroms.herokuapp.com/trade?session=yKgyjt3jp6WT5ZQvUGWSvJmnCMu8c9r2\u0026user=skillerm22\n\nPreview: https://www.youtube.com/watch?v=Qt3DMaXTAH0\n\n\u003c!-- CONTRIBUTING --\u003e\n## Contributing\nThis project is free, and any contribution is welcome.  \nContributions are what make the open source community such an amazing place to be learn, inspire, and create. Any contributions you make are **greatly appreciated**.\n\n\n\u003c!-- LICENSE --\u003e\n## License\n\nDistributed under the MIT License. See `LICENSE` for more information.\n\n\n\n\u003c!-- CONTACT --\u003e\n## Contact\n\nEduardo Castro - [Facebook](https://www.facebook.com/eduhcm)\nCastroMS#3430 - [Discord]\n\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feduhcastro%2Ftrade-items","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Feduhcastro%2Ftrade-items","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feduhcastro%2Ftrade-items/lists"}