Giter Club home page Giter Club logo

surajbokey / react-native-moviedb Goto Github PK

View Code? Open in Web Editor NEW

This project forked from sandipnirmal/react-native-moviedb

0.0 0.0 0.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.

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

JavaScript 92.77% Python 1.57% Java 1.55% Objective-C 4.11%

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.

Get it on Google Play

react-native-moviedb's People

Contributors

sandipnirmal avatar uktg 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.