Project to test ZeroServer.js framework.
Webapp that proposes to host a battle between Marvel Heroes, fighting each two ramdomly.
Whoever wins stays to face the next character. The winner is updated in real time with the highest number of wins. The battle is endless.
- Feches data from Marvel API, the 20 most popular.
- Two heroes each time.
- Real time result.
- List of heroes fetched is listed on the top menu.
- Can be installed on smartphones as PWA
Exercise the React Redux feature.
- ReactJS
- Material Design
- React-Materialize
- Redux
- React-Router
- Data provided by Marvel. © 2020 MARVEL API
- NodeJS, v12.12.0 or higher
- Web browser
- Internet connection 🤪
- Download the repository files (project) or clone this project using the 'git clone' command.
- Create .env file with the Marvel keys,
REACT_APP_MARVEL_PUBLIC_KEY
andREACT_APP_MARVEL_PRIVATE_KEY
. - on the root folder run the command
npm start
. - Open http://localhost:3000 to view it in the browser.
This project was bootstrapped with Create React App.