https://github.com/rustjesty/kucoin-cex-fork-project
KuCoin CEX Forking Project
https://github.com/rustjesty/kucoin-cex-fork-project
centralized cex crypto exchange kucoin project trade
Last synced: 4 months ago
JSON representation
KuCoin CEX Forking Project
- Host: GitHub
- URL: https://github.com/rustjesty/kucoin-cex-fork-project
- Owner: rustjesty
- Created: 2025-04-24T07:53:28.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2025-11-18T11:29:38.000Z (6 months ago)
- Last Synced: 2025-11-18T15:24:12.026Z (6 months ago)
- Topics: centralized, cex, crypto, exchange, kucoin, project, trade
- Language: HTML
- Homepage:
- Size: 9.09 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## KuCoin CEX Fork Overview
This repository contains a learning-oriented fork of a centralized exchange (CEX) inspired by KuCoin. It is organized as a monorepo with a `front-end/` React client and a `back-end/` Node.js/TypeScript service layer. Use it as a starting point for experimenting with exchange-style flows such as authentication, portfolio management, order entry, and market data displays.
**📺 [Watch the Video](https://www.youtube.com/watch?v=uDJoPHH-dn8)**
## Contact
https://t.me/soljesty
### Project Structure
- `front-end/`: Vite + React application, currently providing most of the KuCoin-like UI/UX, page flows, and mock data hooks.
- `back-end/`: Express + TypeScript API covering auth, account ledger, wallet transfers, order placement, and live WebSocket market ticks.
### Getting Started (Front End)
1. `cd front-end`
2. `npm install`
3. `npm run dev`
4. Visit the printed local URL to explore the KuCoin-style interface.
### Backend Quickstart
1. `cd back-end`
2. `npm install`
3. `npm run dev`
4. REST base URL defaults to `http://localhost:5050`; WebSocket ticks stream from `ws://localhost:5050/ws/markets`.
Key modules live under `src/`:
- `routes/`: Express routers for auth, account, wallet, orders, and market data.
- `services/`: In-memory services simulating users, balances, order books, and price feeds.
- `realtime/marketHub.ts`: WebSocket broadcaster that pushes pseudo-random ticker updates.
- `middleware/`: Auth token guard plus error handling.
### Notes
- This codebase is for educational and prototyping purposes only. Do not deploy it as-is for production trading activities.
- Contributions welcome—open an issue or PR describing the feature or fix you’re proposing.