Application that consumes the OMDB API
This project is open-source, you can also contribute: D
This project consists of an app made with react native that uses the OMDB API to list movies, games and series.
- ReactNative
- TypeScript
- React-Navigation
- StyledComponents
- Hooks
- Tests
- Conventional Commits
- ESLint
- Prettier
- EditorConfig
You need to install Node.js, Yarn, Android SDK first and then, in order to clone the project via HTTPS, run this command:
git clone https://github.com/joaovictorpsantos/search-movies-and-series.git
SSH URLs provide access to a Git repository via SSH, a secure protocol. If you have a SSH key registered in your Github account, clone the project using this command:
git clone git@github.com:joaovictorpsantos/search-movies-and-series.git
Install dependencies
yarn install
Install IOS native dependencies
cd ios && pod install
Before running the app, you should:
- Create your account on the OMDB API and request your key to access the API
- Create a file in the root called "config.json" that contains your keys, in this format:
{ "API_KEY": "your key here from OMDB API", }
Make sure you have the emulator on or a physical device connected
Run the following command in order to start the application in a development environment:
// Install the application in a Android device
yarn android
// Install the application in a IOS device
yarn ios
After the build process, the metro bundler will start the app automatically but in case you already have the app built, just run the following command to start it:
yarn start