- Developing an application using React-native with Typescript ⌨️
- Project description stated here
Clone the repository in order to follow the steps inside the How to run
sections
- Go to the
mobile/
folder and runnpm install
in order to install the application's depencies- If you're using XCode go to the
ios/
folder and run thepod install
command
- If you're using XCode go to the
- Run
react-native link
inside the rootmobile/
folder - Then, to run the app run
npm run ios
if you're using XCode, otherwise executenpm run android
- Furthermore, since the application is using TheMovieDB API, you should create an account on their website
- Afterwards, create a new file called
apiKey.ts
under thesrc/constants
folder and in it add the following code:export const MOVIE_DB_API_KEY = <YOUR_API_KEY>
with<YOUR_API_KEY>
replaced by your API key under Settings > API > API Key (v3 auth)
*Note: I've tried adding this API key on a `.env` file, but I ended up having some problems and since time was short I decided for the above mentioned approach* - Afterwards, create a new file called
axios
for handling api callsstyled-components
for the app's stylingreact-native-iconly
for the app's iconsFlatlist
for the infinite scroll on theHome
screenreact-native-responsive-fontsize
to keep the stylization responsive across different devicesWebview
for the trailer's visualization