Note: This project was built using Cursor, an AI-powered code editor, as an experimental exploration of its capabilities in assisting with Next.js and TypeScript development. While Cursor provided helpful suggestions and code completions, all core functionality and architecture decisions were carefully reviewed and implemented by myself (at least at the time of writing this).
A Next.js application that displays cryptocurrency market data in a paginated table format, built with TypeScript and Tailwind CSS.
- Display cryptocurrency market data in a responsive table
- Pagination with 10 items per page
- Real-time number formatting for:
- Currency values
- Large numbers in compact format
- Percentage changes with color indicators
- Fully typed with TypeScript
- Responsive design using Tailwind CSS
- Accessible UI components using shadcn/ui
- Comprehensive test coverage
- Next.js 15 - React framework
- TypeScript - Type safety
- Tailwind CSS - Styling
- shadcn/ui - UI components
- Jest & React Testing Library - Testing
- Clone the repository:
git clone https://github.com/okazkayasi/real-time-indicators
- Install dependencies:
pnpm install
- Run the development server:
pnpm dev
Open http://localhost:3000 with your browser to see the result.
Run the test suite:
pnpm test
Run tests in watch mode:
pnpm test:watch
src/
├── app/ # Next.js app router
├── components/ # React components
│ ├── ui/ # shadcn/ui components
│ └── __tests__/ # Component tests
├── data/ # Mock cryptocurrency data
└── types/ # TypeScript types
- Fork the repository
- Create your feature branch (
git checkout -b feature/amazing-feature
) - Commit your changes (
git commit -m 'Add some amazing feature'
) - Push to the branch (
git push origin feature/amazing-feature
) - Open a Pull Request
This project is licensed under the MIT License - see the LICENSE file for details.