Giter Club home page Giter Club logo

sandipnirmal / react-native-moviedb Goto Github PK

View Code? Open in Web Editor NEW
25.0 7.0 12.0 3.41 MB

LaLune app (https://itunes.apple.com/us/app/lalune-movies-and-tv/id1033048573) clone using React native, Redux. This is cross platform app built using React Native and The MovieDB apis. Purpose of this project was to get our hands dirty with React Native, where we just wanted to focus on application front end.

JavaScript 92.68% Java 1.55% Objective-C 4.10% Shell 0.10% Starlark 1.57%
react-native ios moviedb-api redux cross-platform android

react-native-moviedb's Introduction

The Movie DB using React Native

This is cross platform app built with React Native and by using the MovieDB apis. Purpose of this project was to get our hands dirty with React Native and redux, where we just want to focus on application UI development.

Getting Started

Clone the app

git clone https://github.com/SandipNirmal/React-Native-MovieDB

Install Dependancies

npm i

Add Configurations ( one time activity )

Create .env file in application root similar to .env.example. Replace dummy values present in .env.example with your values. Create acccount on MovieDB and generate API_KEY.

# MovieDB API key
API_KEY='YOUR_API_KEY'

# Other key value pairs

Link Dependancies ( one time activity )

// link orientation
react-native link react-native-orientation 

// link vector icons
react-native link react-native-vector-icons

// link environment variables
react-native link react-native-config

// link react-native-theme
react-native link react-native-theme

Run Application

iOS Simulator
react-native run-ios

npm start
Android emulator

Start AVD (emulator) before following commands

react-native run-android

npm start

Bundle Application for Device

react-native bundle --entry-file src/index.js --platform ios --dev false --bundle-output ios/main.jsbundle --assets-dest ios

For iOS

Modify AppDelegate.m
NSURL *jsCodeLocation;
  jsCodeLocation = [[NSBundle mainBundle] URLForResource:@"main" withExtension:@"jsbundle"];

//  jsCodeLocation = [[RCTBundleURLProvider sharedSettings] jsBundleURLForBundleRoot:@"index.ios" fallbackResource:nil];

For Android

Generate keyStore file

Use following instructions to generate keystore file

https://facebook.github.io/react-native/docs/signed-apk-android.html

 1. Update the alias and the password in the file android/gradle.properties
 2. Run cd android && ./gradlew assembleRelease; cd ..
 3. The Apk should be availabe at android/app/build/outputs/apk/

Screens

Available on:

Our app is now available on Google Play. (Not available now)

Get it on Google Play

react-native-moviedb's People

Contributors

sandipnirmal avatar uktg avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

react-native-moviedb's Issues

Add light theme for app.

Add light theme to app. User should be able to control application theme from app settings screen.

Add pagination on seeAll screens

Currently we only show the available movies/ tv shows. We should be adding pagination while scrolling, so that more items are shown

Fix the issue in Search>Person

How to reproduce?

  1. Tap Search
  2. Tap Person
  3. Search for a person
  4. Click on a result
  5. In the details page, click any Known For item

Expected behavior

Should take to either the TvShow details or Movie Details

Observed

Crash

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.