BenHurMartins / react-native-marvel-comics-app

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Marvel Comics / React Native App

This is an app to access marvel characters database and their respective comics.

  • First step to run this app is to setup the react-native development environment, available here.

  • Clone the repository.

  • Access the marvel api website and get a private and public developer key

  • Create a file called .env and inform your keys in the following format:

PUBLIC_KEY=XXXXXXXXXXXXXXXXXXXXXXXXXXXX
PRIVATE_KEY=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
  • Execute:
npm i

If you are using iOS execute:

npx pod-install
  • Then execute command, depending on the OS:
npx react-native run-ios

or

npx react-native run-android

Stack

  • React-Native 0.64.2

  • React Hooks: state management, navigation and redux

  • Axios

  • React Navigation to manage the Routes

  • React Redux to manage global states

    This app is not suitable for Expo, it is a bare react-native app.


About


Languages

Language:HTML 74.3%Language:JavaScript 16.3%Language:Java 3.5%Language:CSS 2.8%Language:Objective-C 2.4%Language:Ruby 0.4%Language:Starlark 0.3%