{"id":28936247,"url":"https://github.com/a-khushal/exchange-project","last_synced_at":"2026-04-11T14:31:37.298Z","repository":{"id":300562894,"uuid":"1006487470","full_name":"a-khushal/exchange-project","owner":"a-khushal","description":"a centralized exchange similar to binance or backpack.exchange","archived":false,"fork":false,"pushed_at":"2025-10-02T15:20:46.000Z","size":133,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-10-02T16:29:31.085Z","etag":null,"topics":["express","prisma","react","redis","tailwdindcss","typescript"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/a-khushal.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,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-06-22T11:39:33.000Z","updated_at":"2025-10-02T15:20:49.000Z","dependencies_parsed_at":"2025-10-02T16:17:12.551Z","dependency_job_id":"43a9c8b0-76f8-4ddd-bc2a-a4b4e6efa20d","html_url":"https://github.com/a-khushal/exchange-project","commit_stats":null,"previous_names":["a-khushal/exchange"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/a-khushal/exchange-project","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/a-khushal%2Fexchange-project","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/a-khushal%2Fexchange-project/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/a-khushal%2Fexchange-project/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/a-khushal%2Fexchange-project/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/a-khushal","download_url":"https://codeload.github.com/a-khushal/exchange-project/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/a-khushal%2Fexchange-project/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31684523,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-11T13:07:20.380Z","status":"ssl_error","status_checked_at":"2026-04-11T13:06:47.903Z","response_time":54,"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":["express","prisma","react","redis","tailwdindcss","typescript"],"created_at":"2025-06-22T20:07:58.694Z","updated_at":"2026-04-11T14:31:37.285Z","avatar_url":"https://github.com/a-khushal.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Exchange Project\n\nReal-time crypto trading stack: matching engine, HTTP API, and a Next.js UI.\n\n### Structure\n\n- `exchange-backend/`\n  - `api/`: Bun + Express API (port 3000)\n  - `engine/`: Bun matching engine (uses Redis)\n- `exchange-proxy/`: Next.js frontend\n- `order-book/`: TypeScript order book library\n\n### Requirements\n\n- Bun, Node.js 18+, Redis\n\n### Run\n\nAPI\n```bash\ncd exchange-backend/api \u0026\u0026 bun install \u0026\u0026 bun dev\n```\n\nEngine\n```bash\ncd exchange-backend/engine \u0026\u0026 bun install \u0026\u0026 bun dev\n```\n\nFrontend\n```bash\ncd exchange-proxy \u0026\u0026 npm install \u0026\u0026 npm run dev\n```\n\n### Frontend API target\n\n- Set `PROXY_URL` in `exchange-proxy/app/utils/constants.ts` (e.g. `http://localhost:3000/api/v1`).\n\n### Routes\n\n- `POST /api/v1/order`\n- `GET /api/v1/depth`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fa-khushal%2Fexchange-project","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fa-khushal%2Fexchange-project","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fa-khushal%2Fexchange-project/lists"}