A project made to consume Marvel's API.
Everything was made based on the prototype made on Adobe XD.
- A cool splash screen
- Character list
- Character search
- Character info
First, make sure you have what everything you need to run a react-native app using the CLI.
After that you only need to install the dependencies using:
npm install
Then add a .env
file on the root of the project with the variables:
(You can get your keys at developer.marvel.com)
ENV=production or mock
API_HOST=https://gateway.marvel.com:443/v1/public
PUBLIC_KEY=***
PRIVATE_KEY=***
And run it with:
react-native run-android
Jest is the default testing library used, along with Enzyme, which made it easier to test the components' output.
After having all the dependencies installed you can check the coverage with the following command:
npm test -- --coverage