A full-stack IPTV streaming platform built with NestJS (TypeScript) for the backend API and React (TypeScript) for the frontend.
- Modern Tech Stack: NestJS + React + TypeScript
- RESTful API: Built with NestJS framework
- Responsive UI: Beautiful gradient design with category filtering
- Real-time Channel Management: Browse channels by category
- API Health Monitoring: Real-time API status display
- CORS Configured: Seamless frontend-backend communication
iptv4ever/
βββ api/ # NestJS Backend API
β βββ src/
β β βββ main.ts
β β βββ app.module.ts
β β βββ app.controller.ts
β β βββ app.service.ts
β β βββ iptv/ # IPTV Module
β β βββ iptv.module.ts
β β βββ iptv.controller.ts
β β βββ iptv.service.ts
β βββ .env
β βββ package.json
β
βββ client/ # React Frontend
β βββ src/
β β βββ App.tsx
β β βββ App.css
β β βββ main.tsx
β βββ .env
β βββ package.json
β
βββ package.json # Root package with concurrent scripts
- NestJS - Progressive Node.js framework
- TypeScript - Type-safe development
- Express - HTTP server
- RxJS - Reactive programming
- React 18 - UI library
- TypeScript - Type-safe development
- Vite - Fast build tool
- Axios - HTTP client
Port: 5000
Environment: Development
CORS: Enabled for http://localhost:5173 and iptv4ever.com
Edit api/.env:
PORT=5000
NODE_ENV=development
FRONTEND_URL=http://localhost:5173
DOMAIN=iptv4ever.comPort: 3000 (Vite default: 5173)
API URL: http://localhost:5000
Edit client/.env:
VITE_API_URL=http://localhost:5000
VITE_APP_NAME=IPTV4EVER
VITE_DOMAIN=iptv4ever.comnpm run install:all# Root dependencies
npm install
# API dependencies
cd api && npm install
# Client dependencies
cd client && npm installnpm run devThis will start:
- π§ API on http://localhost:5000
- π Client on http://localhost:5173
npm run api:dev
# or
cd api && npm run start:devnpm run client:dev
# or
cd client && npm run devGET /health
Response:
{
"status": "ok",
"timestamp": "2026-01-31T...",
"service": "IPTV4EVER API"
}GET /iptv/channels
GET /iptv/channels/:id
GET /iptv/categories
POST /iptv/playlist
- Category Filtering: Filter channels by News, Sports, Movies, etc.
- Responsive Grid: Adapts to all screen sizes
- Real-time API Status: Shows connection status to backend
- Beautiful UI: Modern gradient design with smooth animations
- Channel Cards: Display channel logos, names, and categories
npm run buildThis will:
- Build the NestJS API to
api/dist/ - Build the React app to
client/dist/
# Start API
cd api && npm run start:prod
# Serve Client (use a static file server)
cd client && npx serve -s distcd api
npm run start:dev # Watch mode
npm run start:debug # Debug modecd client
npm run dev # Development serverPORT: API server portNODE_ENV: Environment (development/production)FRONTEND_URL: Frontend URL for CORSDOMAIN: Production domain
VITE_API_URL: Backend API URLVITE_APP_NAME: Application nameVITE_DOMAIN: Production domain
- Fork the repository
- Create your feature branch
- Commit your changes
- Push to the branch
- Create a Pull Request
ISC License
IPTV4EVER Team
π Domain: iptv4ever.com
πΊ Built with: NestJS + React + TypeScript
π Ready for: Production deployment