- After you clonning or download this repository you have to enter on folder using Terminal or Command Prompt and run the following command.
npm install or yarn
Obs: This command will install all dependencies. Remember that you must have React already installed in your machine.
- Now at root of
src
folder you have to create a folder with nameconfig
and a file with nameconfig.js
like below. - You must get your own
Auth Keys
on Developer Portal of Marvel
const envConfig = {
baseUrl: 'http://gateway.marvel.com',
privateKey: '{{Your Private Key HERE!}}',
publickKey: '{{Your Public Key HERE}}',
}
export default envConfig
- Now you just need run
npm start
oryarn start
on your Terminal or Command Prompt at the project folder.
This project was developed with purpose to learn Redux.
When you run
the project, you will see a single page with some Marvel Character Cards
and you can click at it to see more info about Character
and you can search Marvel Character by name using Search Bar at the top of page.