A Next.js podcast application that displays channels and podcasts from an API.
- Converted all class components to function components
- Replaced
getInitialPropswithgetServerSidePropswhere appropriate - Added TypeScript interfaces for all data structures
- Implemented proper type safety throughout the application
- Replaced custom routing with Next.js rewrites
- All
.jsfiles converted to.tsx - Added
types/index.tsfor centralized type definitions - Added
tsconfig.jsonfor TypeScript configuration - Added
next.config.jsfor Next.js configuration
- Install dependencies:
npm install- Run the development server:
npm run dev- Open http://localhost:3000 in your browser.
npm run dev- Start development servernpm run build- Build for productionnpm run start- Start production servernpm run lint- Run ESLintnpm run type-check- Run TypeScript type checking
- Browse podcast channels
- View channel details and podcasts
- Play podcasts with audio controls
- Responsive design
- TypeScript support for better development experience