This is a personal project I made to learn Angular and NodeJS. It is a web application that shows the user data from a random challenger match from League Of Legends, and then the user tries to guess what champion was played in that match. This project is not currently hosted anywhere.
Currently you will need your own api key from Riot to run this project as it is not yet hosted publicly. You can get a development key for free here
- Development Key: Currently you will need your own api key from Riot to run this project as it is not yet hosted publicly. You can get a development key for free here
- Installation of NodeJS
- Clone the repository somewhere
- Create a file called config.js in the root of the repository.
- In config.js put
module.exports = {
devKey: '[DEVKEY]'
}
where [DEVKEY] is your riot api development key.
- Open a terminal/bash in the root of the repository.
- Run npm install. This should install all of the node modules you will need.
If nodemon is installed, simply run the command 'nodemon' to build and start the webserver. If nodemon is not installed, run the command 'npm install nodemon' to install it.
Run 'ng build' to build the web app, and then npm start to start the webserver
Now the application should be running at localhost:8000