Skip to content

Repository files navigation


 β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•—β–ˆβ–ˆβ•—β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•— β–ˆβ–ˆβ•—  β–ˆβ–ˆβ•—β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•—β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•—    β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•—β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•—  β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•— β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•— β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•—
β–ˆβ–ˆβ•”β•β•β•β•β•β–ˆβ–ˆβ•‘β–ˆβ–ˆβ•”β•β•β–ˆβ–ˆβ•—β–ˆβ–ˆβ•‘  β–ˆβ–ˆβ•‘β–ˆβ–ˆβ•”β•β•β•β•β•β–ˆβ–ˆβ•”β•β•β–ˆβ–ˆβ•—   β•šβ•β•β–ˆβ–ˆβ•”β•β•β•β–ˆβ–ˆβ•”β•β•β–ˆβ–ˆβ•—β–ˆβ–ˆβ•”β•β•β–ˆβ–ˆβ•—β–ˆβ–ˆβ•”β•β•β–ˆβ–ˆβ•—β–ˆβ–ˆβ•”β•β•β•β•β•
β–ˆβ–ˆβ•‘     β–ˆβ–ˆβ•‘β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•”β•β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•‘β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•—  β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•”β•      β–ˆβ–ˆβ•‘   β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•”β•β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•‘β–ˆβ–ˆβ•‘  β–ˆβ–ˆβ•‘β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•—
β–ˆβ–ˆβ•‘     β–ˆβ–ˆβ•‘β–ˆβ–ˆβ•”β•β•β•β• β–ˆβ–ˆβ•”β•β•β–ˆβ–ˆβ•‘β–ˆβ–ˆβ•”β•β•β•  β–ˆβ–ˆβ•”β•β•β–ˆβ–ˆβ•—      β–ˆβ–ˆβ•‘   β–ˆβ–ˆβ•”β•β•β–ˆβ–ˆβ•—β–ˆβ–ˆβ•”β•β•β–ˆβ–ˆβ•‘β–ˆβ–ˆβ•‘  β–ˆβ–ˆβ•‘β–ˆβ–ˆβ•”β•β•β•
β•šβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•—β–ˆβ–ˆβ•‘β–ˆβ–ˆβ•‘     β–ˆβ–ˆβ•‘  β–ˆβ–ˆβ•‘β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•—β–ˆβ–ˆβ•‘  β–ˆβ–ˆβ•‘      β–ˆβ–ˆβ•‘   β–ˆβ–ˆβ•‘  β–ˆβ–ˆβ•‘β–ˆβ–ˆβ•‘  β–ˆβ–ˆβ•‘β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•”β•β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•—
 β•šβ•β•β•β•β•β•β•šβ•β•β•šβ•β•     β•šβ•β•  β•šβ•β•β•šβ•β•β•β•β•β•β•β•šβ•β•  β•šβ•β•      β•šβ•β•   β•šβ•β•  β•šβ•β•β•šβ•β•  β•šβ•β•β•šβ•β•β•β•β•β• β•šβ•β•β•β•β•β•β•

A next-generation crypto trading platform built for speed, security, and precision.

Next.js TypeScript Tailwind CSS License


Live Demo Β· Report Bug Β· Request Feature



πŸ“Έ Preview

Screenshot or GIF coming soon


✨ Features

  • πŸ” Β Secure Authentication β€” JWT-based auth with session management
  • πŸ“Š Β Real-Time Charts β€” Live candlestick & line charts powered by market data
  • πŸ’Ή Β Portfolio Tracker β€” Monitor your holdings, P&L, and performance
  • 🌐 Β Live Market Data β€” Real-time prices, volume, and order book
  • πŸŒ™ Β Dark Mode First β€” Sleek dark UI designed for traders
  • ⚑ Β Blazing Fast β€” Built on Next.js App Router with server components
  • πŸ“± Β Fully Responsive β€” Seamless experience across all devices
  • πŸ”” Β Price Alerts β€” Get notified when your target price is hit

πŸ› οΈ Tech Stack

Category Technology
Framework Next.js 15 (App Router)
Language TypeScript
Styling Tailwind CSS v4
Font Geist
Charts TradingView Lightweight Charts
State Zustand
Auth NextAuth.js
Database PostgreSQL + Prisma ORM
Deployment Vercel

πŸš€ Getting Started

Prerequisites

Make sure you have the following installed:

Installation

1. Clone the repository

git clone https://github.com/yourusername/cipher-trade.git
cd cipher-trade

2. Install dependencies

npm install
# or
pnpm install

3. Set up environment variables

cp .env.example .env.local

Then fill in the required values in .env.local:

# App
NEXT_PUBLIC_APP_URL=http://localhost:3000

# Database
DATABASE_URL=postgresql://user:password@localhost:5432/cipher_trade

# Auth
NEXTAUTH_SECRET=your-secret-key
NEXTAUTH_URL=http://localhost:3000

# Crypto API
CRYPTO_API_KEY=your-api-key
CRYPTO_API_URL=https://api.example.com

4. Run the development server

npm run dev

Open http://localhost:3000 in your browser. πŸŽ‰


πŸ“ Project Structure

cipher-trade/
β”œβ”€β”€ app/                    # Next.js App Router
β”‚   β”œβ”€β”€ (auth)/             # Auth routes (login, register)
β”‚   β”œβ”€β”€ (dashboard)/        # Protected dashboard routes
β”‚   β”œβ”€β”€ api/                # API route handlers
β”‚   β”œβ”€β”€ globals.css         # Global styles
β”‚   └── layout.tsx          # Root layout
β”œβ”€β”€ components/             # Reusable UI components
β”‚   β”œβ”€β”€ charts/             # Chart components
β”‚   β”œβ”€β”€ market/             # Market data components
β”‚   β”œβ”€β”€ portfolio/          # Portfolio components
β”‚   └── ui/                 # Base UI primitives
β”œβ”€β”€ lib/                    # Utilities and helpers
β”œβ”€β”€ hooks/                  # Custom React hooks
β”œβ”€β”€ store/                  # Zustand state stores
β”œβ”€β”€ types/                  # TypeScript type definitions
β”œβ”€β”€ prisma/                 # Database schema & migrations
└── public/                 # Static assets

πŸ“œ Available Scripts

npm run dev          # Start development server
npm run build        # Build for production
npm run start        # Start production server
npm run lint         # Run ESLint
npm run type-check   # Run TypeScript type checking
npm run db:push      # Push Prisma schema to database
npm run db:studio    # Open Prisma Studio

🀝 Contributing

Contributions are what make the open-source community amazing! Any contributions you make are greatly appreciated.

  1. Fork the project
  2. Create your feature branch β€” git checkout -b feature/amazing-feature
  3. Commit your changes β€” git commit -m 'feat: add amazing feature'
  4. Push to the branch β€” git push origin feature/amazing-feature
  5. Open a Pull Request

Please read CONTRIBUTING.md for details on our code of conduct and the process for submitting pull requests.


πŸ› Bug Reports & Feature Requests

If you find a bug or have a feature request, please open an issue. Make sure to include:

  • A clear description of the bug or feature
  • Steps to reproduce (for bugs)
  • Screenshots if applicable

πŸ“„ License

Distributed under the MIT License. See LICENSE for more information.


πŸ™ Acknowledgements


Made with ❀️ by the CipherTrade team

⭐ Star this repo if you find it helpful!

About

πŸ” CipherTrade β€” A next-gen crypto trading platform with real-time market data, portfolio tracking & seamless trading experience | Next.js Β· TypeScript Β· Tailwind

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages