Giter Site home page Giter Site logo

rnmovie's Introduction

Movie Mania

Project Name: RNMovie

Bundle Id: org.reactjs.native.example.RNMovie Package Name: com.rnmovie

react-native code-style


Project Desctiption

A react-native project for searching the movie and TV show and mark them as your favourite.

Prerequisites

iOS : XCode(13.2) onwards

Android : Android Studio(3.5.2) with gradle(7.1.2) onwards

Editor : Visual Studio Code

How to Setup Project

Step 1: Clone this repository.

Step 2: Go to the cloned repo and open in in termianl.

Step 3: Install the Application with npm i

Step 4: cd to ios directory. And install pods with pod install

Step 5: Run Jetify for Third Party library convert in AndroidX npx jetify(This needs to be done only for first time after checking out the repo. And for all projects having react-native 0.60 onwards)

Step 6: Create .env file and put the following api urls into it

  1. API_URL=https://api.themoviedb.org/3
  2. API_KEY=d9ca42f944024f53ccd5081fdfdbd2e1
  3. IMAGE_URL=https://image.tmdb.org/t/p/w500/

How to Run the Project

  1. cd to the project directory
  2. Run and build for either OS
    • Run iOSm app
      npm run ios
    • Run Android app
      npm run android
    • Note: This npm scripts will lint your code first. If there are no lint errors, then it will run the ios or android app. Otherwise it will show the lint errors in the terminal.

List of all dependencies used in the project with their usage

Troubleshoot Notes

for react-native-config

If you're coming from React version 0.60 and above, you should be referencing the package from GitHub instead of NPM because there are issues with the NPM package

Known Issues

  1. GeneratedInfoPlistDotEnv.h` file not found and iOS command not working
  2. 'GeneratedDotEnv.m' file not found

If you have taken refrence from the GitHub then you don't have to add any other post-install scripts, just run the app like usual and it should work fine. Make sure you undo any other fixes before doing this.

rnmovie's People

Contributors

shalin-jasani747 avatar shalin-simform 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.