Skip to content

🎬 NetShort - A modern streaming platform for short drama series built with React, TypeScript, Vite & Tailwind CSS

Notifications You must be signed in to change notification settings

hndko/app_netshort-api_react

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

19 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

🎬 NetShort

React TypeScript Vite Tailwind CSS

A modern streaming platform for short drama series

Demo β€’ Features β€’ Installation β€’ API β€’ License


✨ Features

Feature Description
🏠 Home Page Browse trending & popular dramas with beautiful hero section
🎭 Serial Drama Explore drama collections with infinite scroll pagination
πŸ” Search Find dramas instantly by title or keyword
πŸ“Ί Drama Detail Watch episodes with built-in video player
πŸŒ— Dark Mode Toggle between light and dark themes
πŸ“± Responsive Optimized for mobile, tablet, and desktop

πŸ–ΌοΈ Screenshots

Home Page Drama Detail
Home Page Drama Detail

πŸš€ Installation

Prerequisites

Quick Start

# Clone repository
git clone https://github.com/yourusername/netshort.git
cd netshort

# Install dependencies
npm install

# Start development server
npm run dev

Open http://localhost:3000 in your browser.

Build for Production

npm run build
npm run preview

πŸ“ Project Structure

src/
β”œβ”€β”€ api/           # API service functions
β”œβ”€β”€ components/    # Reusable UI components
β”œβ”€β”€ hooks/         # Custom React hooks
β”œβ”€β”€ pages/         # Page components
└── types/         # TypeScript interfaces

πŸ”Œ API Endpoints

This app consumes the NetShort API:

Endpoint Description
GET /theaters Get drama categories & listings
GET /foryou Get personalized recommendations
GET /search Search dramas by query
GET /allepisode Get all episodes of a drama

πŸ› οΈ Tech Stack

  • Frontend Framework: React 19
  • Build Tool: Vite 6
  • Styling: Tailwind CSS 4
  • Language: TypeScript
  • Routing: React Router DOM
  • Icons: Material Icons

πŸ“„ Environment Variables

Create a .env file:

VITE_API_BASE_URL=/api/netshort

🀝 Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

  1. Fork the repository
  2. Create your feature branch (git checkout -b feature/AmazingFeature)
  3. Commit your changes (git commit -m 'Add some AmazingFeature')
  4. Push to the branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

πŸ“ License

This project is licensed under the MIT License - see the LICENSE file for details.


Made with ❀️ using React & TypeScript

⭐ Star this repo if you find it helpful!

About

🎬 NetShort - A modern streaming platform for short drama series built with React, TypeScript, Vite & Tailwind CSS

Resources

Stars

Watchers

Forks

Packages

No packages published