The successor to NyumatFlix V1, including an all-new design and tech stack.
- 🎞️ Multi-modal Streaming: Anime, TV shows, Movies, we got you covered.
- 🎬 Latest Releases: Stay up to date with the latest movie and TV show releases.
- 🔍 Search: Find your favorite movies and TV shows with the search feature.
- 🎭 Filter by Genre: Filter movies and TV shows by genre.
- 📱 Responsive Design: The app is designed to work well on both desktop and mobile devices.
To install the project, follow these steps:
- Clone the repository
git clone https://github.com/Nyumat/NyumatFlix.git
- Create a
.env.local
file in the root directory of the project and add the following environment variables:
# The API key for The Movie Database (TMDb)
API_KEY=
# First is for movies, second one is for TV shows. Both are required.
NYUMATFLIX_VPS=
NYUMATFLIX_VPS2=
I purposely left the API key blank so that you can get your own. You can get one by creating an account on TMDb. For the other two variables, you can get them by checking out FMHY.
- Install dependencies
npm install
- Run the development server
npm run dev
- Open http://localhost:3000 with your browser to see the result.
Script | Description |
---|---|
dev |
Run Next.js development server. |
build |
Build the Next.js application. |
start |
Start the Next.js production server. |
preview |
Start the Next.js server on port 3001 for previewing. |
format |
Format code using Prettier for specified file patterns. |
check-format |
Check if code is formatted correctly using Prettier. |
type-check |
Run TypeScript type-checking using the tsc compiler. |
lint |
Lint code using ESLint for TypeScript and TypeScript React files. |
lint:fix |
Fix linting issues using ESLint for TypeScript and TypeScript React. |
test-all |
Run type-checking, linting, and code formatting checks. |
prepare |
Install Husky Git hooks. |
Contributions are welcome. I'm currently working on a test suite so that contributions can be made easier without breaking NyumatFlix. If you have any questions, feel free to open an issue.