Coder Social home page Coder Social logo

asirabdelhady / netfilm Goto Github PK

View Code? Open in Web Editor NEW

This project forked from tramleit/netfilm

0.0 0.0 0.0 22.47 MB

A Website To Watch Movie, Anime And TV Show Using NextJS

Home Page: https://net-film.vercel.app

Shell 0.19% JavaScript 0.12% TypeScript 69.06% SCSS 30.64%

netfilm's Introduction

NetFilm

A Website To Watch HD Movies, Anime And TV Online For Free Using NextJS

Overview

Preview

preview-home

Resources

Main technology used

  • NextJS, Typescript
  • Sass module
  • Firebase
  • Redux, Redux toolkit (State management)
  • Axios, Swr (Support fetching data)
  • Swiper (Slider), react-modal (Modal)
  • React-toastify, react-hot-toast (Message UI)
  • Next-swagger-doc, swagger-ui-react (Document API)
  • Cheerio (Crawl data from website Loklok)
  • react-hls-player (Media player video m3u8)
  • Other: query-string, uuidv4, ...

Features

  • Full HD movies with subtitles in many languages
  • Suggested movies you may like
  • Skeleton loading, infinite scrolling movie at Home page and Explore page
  • Search movie by name, with suggestion keywords, filter movie by type (category, area, year,...)
  • Profile page: allowing to change profile photo avatar, fullname, password.
  • Comment: allowing to give reactions, see who reacts to a comment, edit and delete comment.
  • Discovery movie trailer (Short videos like TikTok)
  • Save history you watch, follow movie you like
  • View information of the actors in the movie
  • Read latest breaking movie news
  • Optimize SEO and Responsive on many devices

Environment Variables

NEXT_PUBLIC_NODE_ENV = development (or production if deploy to vercel)
NEXT_PUBLIC_BASE_URL_API = https://ga-mobile-api.loklok.tv/cms/app
NEXT_PUBLIC_BASE_URL_API_SUB = https://mobile-api.netpop.app/cms/web/pc
NEXT_PUBLIC_SERVER = https://net-film.vercel.app (Link vercel)
NEXT_PUBLIC_LOCALHOST = http://localhost:3000

# See: https://firebase.google.com
NEXT_PUBLIC_FIREBASE_PUBLIC_API_KEY=
NEXT_PUBLIC_FIREBASE_AUTH_DOMAIN=
NEXT_PUBLIC_FIREBASE_PROJECT_ID=
NEXT_PUBLIC_FIREBASE_STORAGE_BUCKET=
NEXT_PUBLIC_FIREBASE_MESSAGING_SENDER_ID=
NEXT_PUBLIC_FIREBASE_APP_ID=

Deployment

  • Create a new project on the vercel dashboard -> Add Environment Variables from .env.example
  • Go to Settings -> Functions -> Function Region -> Change the region to "Sydney, Australia"
  • Redeploy the project
  • If an error occurs npm ERR! code ERESOLVE, npm ERR! ERESOLVE unable to resolve dependency tree -> Change Install Command

Fix

Screenshots

Home page

home

Watch Page

watch

Search Page

search

Profile Page

profile

Change Password Page

password

News Page

news

News Details Page

news-details

Explore Page

explore

Discovery Page

discovery

History Page

history

Sign In Page

sign-in

Sign Up Page

sign-up

Star Info Page

star

Page Not Found

404

Mobile

mobile

👉 If you like this project, give it a star ✨ and share 👨🏻‍💻 it to your friends 👈

netfilm's People

Contributors

lamhoang1256 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.