Skip to content
Sohum-NikamPublic

About

An AI-powered cryptocurrency analytics platform designed to simplify digital asset tracking and market intelligence. The project aims to integrate real-time cryptocurrency data, interactive market visualizations, and AI-driven insights to help users understand market trends, analyze price movements, and make more informed research-based decisions.

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Repository files navigation

Crypto Exchange

A friendly, beginner-friendly full-stack crypto exchange project built with React, TypeScript, Node.js, and MongoDB. It simulates a real trading dashboard experience with authentication, wallet flows, real-time market updates, and a demo trading environment.

This project is designed to help new developers understand how a real-world web app is structured across the frontend, backend, database, and API layers.

Why this project exists

Crypto Exchange is not just a UI mockup — it connects several moving pieces together:

  • A React frontend for the user experience
  • An Express API for backend logic
  • MongoDB for storing user and wallet information
  • Coinbase market data for live crypto pricing
  • WebSockets / simulated updates for real-time dashboards

If you are new to full-stack development, this repository is a great place to see how everything fits together.

What you can do in this project

  • Sign up and sign in
  • Explore cryptocurrency price information and charts
  • Use a virtual wallet with a demo starting balance
  • Make simulated buy/sell transactions
  • View transaction history
  • Learn how frontend requests connect to backend routes

Important note

This project is a learning/demo application. It is not a real trading platform and should not be used for real funds or financial decisions. The wallet is virtual and the market data is for demonstration.

Tech stack

  • Frontend: React, TypeScript, CSS
  • Routing: React Router
  • Backend: Node.js, Express
  • Real-time communication: Socket.IO
  • Database: MongoDB + Mongoose
  • Market data: Coinbase API
  • Charts: ApexCharts

Quick start

1. Clone the repository

git clone https://github.com/Sohum-Nikam/Crypto.git
cd Crypto

2. Install dependencies

Install the frontend dependencies:

npm install

Install the backend dependencies:

cd server
npm install
cd ..

3. Set up your environment

Copy the example environment files and update them with your own settings:

cp .env.example .env
cp server/.env.example server/.env

Then update the values inside the files:

  • REACT_APP_API_URL for the frontend API URL
  • MONGODB_URI for your MongoDB database
  • JWT_SECRET for secure token generation
  • COINBASE_API_KEY and COINBASE_SECRET_KEY for market data integration
  • SMTP settings if you want email-based password resets

4. Start the app

From the root folder:

npm run dev

This runs the frontend and backend together.

If you want to run them separately:

npm start
cd server
node server.js

Project structure

Crypto/
├── public/                     # Static assets and browser entry files
├── src/                        # Frontend React source code
│   ├── components/             # Reusable UI elements
│   ├── contexts/               # Shared app context/state
│   ├── hooks/                  # Custom React hooks
│   ├── layouts/                # Shared page layouts
│   ├── navigation/             # Route setup and navigation
│   ├── screens/                # Main pages like dashboard, market, wallet
│   ├── services/               # Frontend API calls and data services
│   ├── styles/                 # Global styling
│   ├── utils/                  # Helper functions and guards
│   ├── App.tsx                 # App root component
│   ├── index.tsx               # React entry point
│   └── react-app-env.d.ts      # CRA TypeScript support file
├── server/                     # Backend API code
│   ├── server.js               # Main Express server and routes
│   ├── package.json            # Backend dependencies
│   └── .env.example            # Example backend env file
├── services/                   # Shared backend helper services
│   └── coinbaseMarketService.js
├── docs/                       # Project documentation and guides
│   ├── project-structure.md
│   └── setup.md
├── .env.example                # Frontend env template
├── .gitignore                  # Ignore generated files and secrets
├── package.json                # Frontend scripts and dependencies
├── README.md                   # Main project documentation
└── tsconfig.json               # TypeScript config

Beginner-friendly explanation

If you are new to this project, here is the easiest way to understand it:

  • src/ = what users see on the website
  • server/ = the API that handles login, wallet actions, and market requests
  • services/ = helper logic for things like Coinbase market data
  • public/ = static front-end assets
  • .env files = secret settings such as API keys and database URLs

A good way to learn the project is:

  1. Start with src/App.tsx
  2. Look at src/navigation/
  3. Open a screen in src/screens/
  4. Follow that screen to its API service in src/services/
  5. Then trace the request to the backend in server/server.js

That flow will help you understand how the app works end-to-end.

Features overview

Authentication

The app supports sign-up, sign-in, password reset, and user profile requests using JWT-based authentication.

Market data

The app retrieves live crypto pricing through Coinbase endpoints and also includes fallback values for demo/offline scenarios.

Wallet simulation

Users get a virtual starting balance, and their wallet updates after buy/sell actions.

Real-time updates

The project uses WebSockets and Socket.IO patterns to mimic live updates seen in modern trading interfaces.

Development tips

  • Start by understanding one page at a time.
  • Keep your environment variables private.
  • Avoid committing .env files.
  • When a feature is not working, trace it from the frontend service to the backend route.
  • Use README and docs files as a map before making large code changes.

Contributing

Contributions are welcome. If you want to help improve the project:

  • fix a bug
  • improve the UI/UX
  • refactor the structure
  • add documentation
  • improve the backend logic

Please keep changes clean, readable, and beginner-friendly.

Safety and learning focus

This repository is created for learning, presentation, and portfolio-style development. It is not a production-ready financial system and should not be used for real account management, real trading, or financial decisions.

License

This project is open for learning and experimentation. If you plan to reuse or extend it, please keep the original credit and respect the repository's code and documentation.

About

An AI-powered cryptocurrency analytics platform designed to simplify digital asset tracking and market intelligence. The project aims to integrate real-time cryptocurrency data, interactive market visualizations, and AI-driven insights to help users understand market trends, analyze price movements, and make more informed research-based decisions.

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages