Popular Movies is a react native application built for both Android and iOS. It retrives popular movies from the MovieDB API and displays in FlatList grid. Upon clicking on any poster, it displays some meta data like year, rating, poster, overview etc.
Please follow these steps to run Popular Movies locally.
- Clone or download this repository.
git clone https://github.com/UnnitMetaliya/popular-movies-react-native.git
- cd into the repository
cd popular-movies-react-native
- This project is based on
expo-cli
. You will have to install it throughnpm
if you don't have it already.
npm install -g expo-cli
- Install all the dependencies. Use the package manager npm or yarn to install dependencies for Popular Movies.
npm install
- Start the development server.
npm start
-
Download the expo client app (free) for both Android (from Play Store) and iOS (from App Store) to see the app live in action.
-
Follow the instructions given on CLI or on the development server page. For Android, you can just scan the barcode from expo-client app in android. For iOS, you will have to follow the two step process. Retrieving the link to run app in client by email or phone number.
-
Enjoy the app.