A cryptocurrency exchange interface for swapping between Bitcoin (BTC) and US Dollars (USD), built with Next.js, React, TypeScript, and TailwindCSS.
- Swap Interface: Easily switch between buying and selling Bitcoin
- Real-time Rates: Live Bitcoin price data fetched from CoinGecko API
- Responsive Design: Works on both desktop and mobile devices
- Smooth Animations: Includes subtle animations for a polished user experience
- Error Handling: Graceful handling of transaction failures with helpful messages
- Framework: Next.js 15 (App Router)
- Language: TypeScript
- Styling: TailwindCSS
- State Management: React Hooks
- Data Fetching: TanStack Query (React Query)
First, install the dependencies:
npm install
# or
yarn install
# or
pnpm install
Then, run the development server:
npm run dev
# or
yarn dev
# or
pnpm dev
Open http://localhost:3000 with your browser to see the application.