Coinpulse is a crypto market dashboard built with Next.js that surfaces live market data, detailed coin pages with candlestick charts, and a simple conversion tool powered by the CoinGecko Pro API.
- Home overview
- Market overview cards, trending coins, and curated categories on the
/route.
- Market overview cards, trending coins, and curated categories on the
- All coins listing
- Paginated table of coins at
/coinswith rank, token info, price, 24h change, and market cap.
- Paginated table of coins at
- Coin details
- Detailed coin page at
/coins/[id]with:- Live OHLC data visualized in an interactive candlestick chart.
- Period switching (e.g. daily/weekly/monthly).
- Optional live update intervals for streaming OHLCV data.
- External links to website, explorer, and community.
- Detailed coin page at
- Converter
- Per‑coin converter widget that lets you convert a chosen amount into multiple fiat/crypto currencies using current prices.
- Modern UI
- Responsive layout, shadcn/ui components, Tailwind CSS v4, and
lightweight-chartsfor rich charting.
- Responsive layout, shadcn/ui components, Tailwind CSS v4, and
- Framework: Next.js 16 (App Router, Server Components)
- Language: TypeScript, React 19
- Styling: Tailwind CSS v4
- UI components: shadcn/ui, Radix UI,
lucide-react - Charts:
lightweight-charts - Data: CoinGecko Pro API (and on‑chain pools via GeckoTerminal endpoints)
- Node.js: v20+ recommended
- Package manager: npm (bundled with Node) or your preferred alternative
- A CoinGecko Pro API key
Clone the repository and install dependencies:
git clone <your-repo-url> coinpulse
cd coinpulse
npm installCreate a .env.local file in the project root:
COINGECKO_BASE_URL=https://pro-api.coingecko.com/api/v3
COINGECKO_API_KEY=your_coin_gecko_pro_api_keyCOINGECKO_BASE_URL: Base URL for CoinGecko Pro API (the above is a common default; adjust if your plan uses a different host).COINGECKO_API_KEY: Your CoinGecko Pro API key used inlib/coin-gecko-actions.ts.
npm run devVisit http://localhost:3000 to view the app.
npm run build
npm startnpm run lintSome key files and directories:
app/page.tsx: Home page with overview, trending coins, and categories.app/coins/page.tsx: Paginated list of all coins.app/coins/[id]/page.tsx: Coin details view with candlestick chart and converter.components/: Reusable UI and feature components:CandlestickChart.tsx– interactive OHLC candlestick chart.Converter.tsx– coin amount converter.DataTable.tsx,CoinsPagination.tsx,home/*– table, pagination, and home widgets.
lib/coin-gecko-actions.ts: Server-side CoinGecko fetchers and pool lookup.lib/utils.ts: Utility helpers (formatting, class name helpers, etc.).
Coinpulse is a standard Next.js App Router project and can be deployed to any Next.js‑compatible platform (e.g. Vercel, Node server, or containerized environment).
Follow the platform’s Next.js deployment guide and ensure your production environment variables match those in .env.local.