DiChin is a modern web application for streaming Chinese dramas. It features a responsive frontend built with React and a robust backend powered by Go.
- Streaming: Watch your favorite Chinese dramas seamlessly.
- Search: Find dramas easily with a powerful search functionality.
- Trending & Popular: Stay updated with the latest and most popular dramas.
- Responsive Design: Optimized for both desktop and mobile viewing.
- Framework: React (Vite)
- Styling: Tailwind CSS
- Routing: React Router
- Icons: Lucide React
- HTTP Client: Axios
- Language: Go
- Framework: Gin
- Configuration: Godotenv
- Node.js (v18+)
- Go (v1.21+)
git clone https://github.com/Start-Ho/Dichini.git
cd DichiniNavigate to the backend directory and start the server:
cd backend
# Create .env file based on example
cp .env.example .env
# Install dependencies
go mod download
# Run the server
go run main.goThe backend server will start on http://localhost:8080.
Open a new terminal, navigate to the frontend directory, and start the development server:
cd frontend
# Install dependencies
npm install
# Run the development server
npm run devThe frontend application will be available at http://localhost:5173.
Configure the .env file in the backend directory:
ALLOWED_ORIGINS=http://localhost:5173
PORT=8080
RATE_LIMIT=20-SContributions are welcome! Please feel free to submit a Pull Request.
This project is licensed under the MIT License.