A movie app UI built using React native.Its fetching the Data from TheMovieDb API.
- Automatic Fetching based on Trending, popular, upcoming etc
- Searching based on Keyword
- Details about the movie
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.
Make Sure you Have the following things Installed on your Machines.
- Node.js
- expo cli
npm install --save react-navigationfor navigation between Screensnpm install --save react-navigation-stackStacking the List for navigationnpm install --save react-native-side-menuside Menu also known as Drawer if you want you can use ReactNative Drawernpm install --save react-native-gesture-handler@^1.3.0Specific version why you asked? coz the latest wasn't compatiblenpm install --save react-native-starsto show Rating of elementnpm install --save react-native-vector-iconsfor Icons used such as search or Menunpm install --save expo-linear-gradienta Linear gradient I used at Title of movie in Detailpage.
npm start
this will start a web page containing the QR code and other Useful stuff for debugging. now just open the expo app in your ios or Android and login .....the Scan the QR code opened on your Web browser.
Enjoy!
- as images we're fetching are high resolution you can pass through the imageResizer reactnative plugin
- Lock orientation to portrait mode
- add Video Player to play trailer of the movie and lock its orientation to default
As Expo have its own Limitation Regarding certain dependencies for Video and Orientation copy this code and build using react-native-cli