A simple webapp to compare two superheroes using the superhero-api to get the information and presenting it with Chart.js Part of the course Flerplattformsapplikationer assignment 3
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.
To install you need npm (bundled with Node.js) or yarn
Clone the repository
cd into directory
yarn or npm install
In the folder:
create /js/key.js and add module.exports.apiKey = [api key for https://superheroapi.com/]
Back to the console/terminal:
run webpack or node_modules/webpack-cli/bin/cli.js if that the first doesnt work
Open dist\html\index.html in a browser
...and enjoy or at least try to have fun with it!
- Yarn & npm - Packagehandlers, started with npm but for reasons unknown switched to yarn shortly after.
- webpack - used for bundling
- SuperheroAPI - The API used
- Chart.js - js library used for the chart (obviously...)
- axios - js library used for the api calls
Git and GitHub used for versioning.
This project is licensed under the MIT License - see the LICENSE.md file for details