Coder Social home page Coder Social logo

ismailazdad / netflixclone_capacitor_android Goto Github PK

View Code? Open in Web Editor NEW
7.0 1.0 0.0 30.36 MB

Netflix Progressive web app and Android Capacitor with react.js

Home Page: https://play.google.com/store/apps/details?id=com.moviestrailer.app

License: GNU Lesser General Public License v3.0

HTML 1.04% JavaScript 95.76% CSS 2.32% TypeScript 0.13% Java 0.75%
android capacitor-plugin reactjs capacitor media-queries wpa

netflixclone_capacitor_android's Introduction

Netflix Clone movies trailer Android

This repository was based on a idea, Make my own Netflix clone. For this challenge i wanted to see all informations about a movie/tv and in same time see all trailers available.

Download and install movies trailer app

Web mobile app WPA

Tools used

  • Add capacitor for Android conversion
  • Add WPA Web progressive app for faster rendering
  • All modern browsers (including mobile) with css media query
  • Route maping for rendering mutliples pages with react router with parameters(dynamic route generation)
  • Bootstrap modal
  • GlobalStyle, and style.jsx and styled component
  • Hooks and UseContext to synchronize data context
  • TMDB Api , Omdb api
  • Handle environment variable with .env

if someone can do the same for ios and push the app to the apple store, it will be awesome 💥 :neckbeard: 🐵

Running Project Locally

Clone Project :

git clone https://github.com/ismailazdad/NetflixClone_Capacitor_Android.git

Go to project directory :

cd NetflixClone_Capacitor_Android/

Install dependencies:

npm install in the root project

Get API key from here

Change .env file in root project and replace YOUR_API_KEY_HERE by your personnal themoviedb key

Run project:

npm run start

Open http://localhost:3000 to view it in your browser.

Capacitor install and Tutorial

I use Capacitor to convert React.js project to native Android project.

How to convert project to native app with capacitor :

tutorial

tutorial android

you can handle native event in your project using capacitor bridge to handle or modify wanted behavior

handle native listenner

icon app

Install capacitor

Run this command on the root of the project

npm i @capacitor/core

npm i -D @capacitor/cli

npx cap init

npm i @capacitor/android

npx cap add android

npx cap sync

npx cap run android

Icon for Android

Create a folder resources in the root of your project with icon.png and splash.png

npm install -g cordova-res

cordova-res android --skip-config --copy

Synchronize your project to update android project folder

npm run build

npx cap sync

Go to Android Studio to fix all images declination for devices

Description

Watch the lastest trailers quickly and easily like a famous streaming app. Search for a movie/tv , show movie details like casting or production focus on user experience

MoviesTrailer app allows you to see trailers of all popular movies, primarily in your native language. Search for an actor or director..., get the filmography and the resume of an actor.Search any movie, find information about it and see the list of trailers for the same movie very easily. Make your own movie favorite list quickly

• Make you own movies list

• Link to watch movie with webtorrent

• Show actor or director filmography

• Casting of the movie

• Get similar movies

• Manage all main languages

• Get the reviews of a movie

• Get the list of provider for movies available in your country

• Results according to your preferred language

• View all upcoming movie trailers.

• Get a list of currently popular movies.

• Get a list of top rated movies.

• Search any movie with its information: title, rating, release date, language, genres, synopsis, production...

Preview

netflixclone_capacitor_android's People

Contributors

dependabot[bot] avatar ismailazdad avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 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.