Skip to content

React project that uses Riot Games' API to fetch users' recent League of Legends matches, incorporating Redis for caching data on the initial lookup to reduce reliance on the API.

Notifications You must be signed in to change notification settings

kol3x/League-Helper

Repository files navigation

League Helper

A simple LoL match statistics web app.

View Demo · Report Bug

Table of Contents
  1. About The Project
  2. Getting Started
  3. Usage
  4. Roadmap
  5. Contributing

About The Project

Product Name Screen Shot

My passion project is developed using React and Redis. It utilizes Riot Games' API to retrieve the latest League of Legends matches for users and presents unique statistics not commonly found on popular LoL-stats websites. To reduce dependency on the API, I've implemented Redis to cache data during the initial lookup.

back to top

Built With

  • React
  • Redis
  • Express

back to top

Getting Started

Prerequisites

Node.js, npm

Installation

  1. Get a free API Key at Riot Games
  2. Create a Redis instance, you can do it for free on railway
  3. Clone the repo
    git clone https://github.com/kol3x/League-Helper
  4. Install NPM packages for both react and express folders.
    npm i
  5. Fill the react folder .env file with the following.
    SERVER_URL = "http://localhost:5005";
  6. Run the react frontend and copy the adress of frontend instance.
    npm run dev
  7. Enter your API, Redis URL, frontend adress and pot in .env of express folder.
    RIOT = "ENTER YOUR API";
    REDIS_URL = "you Redis instance";
    PORT = 5005;
    FRONTEND_URL = "ENTER FRONTEND URL FROM PREV STEP";
  8. Run the backend instance
    npm run serverstart

back to top

Usage

By default it opens my League profile. To look at a different one, you should type a username, RIOT tag and select a server in the header. Another option is to click any on the teammates/enemys names to go and see their matches.

back to top

Roadmap

  • Redesign match box.
  • Add goals for next match.

I'd be happy for you to join and build up this project with me.

back to top

Contributing

Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.

If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement". Don't forget to give the project a star! Thanks again!

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/AmazingFeature)
  3. Commit your Changes (git commit -m 'Add some AmazingFeature')
  4. Push to the Branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

back to top

About

React project that uses Riot Games' API to fetch users' recent League of Legends matches, incorporating Redis for caching data on the initial lookup to reduce reliance on the API.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published