Wolven531 / simple-cra-app

An app created w/ CRA to consume and display Riot API League data

Home Page:https://simple-cra-staging.herokuapp.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Next Gen League Compare

This repository contains a React app (using Typescript) that consumes Riot API data related to League of Legends. The repository containing the API this app consumes is located here

Available Scripts

In the project directory, you can run:

npm start

Runs the app in the development mode; Open http://localhost:4000 to view it in the browser

npm test

Runs tests and outputs code coverage

Notes

Locally, the app runs on port 4000 (as specified in the .env file)

By default, the app looks to localhost:3000 for a running API; to override this URL, set REACT_APP_API_URL in your environment variables or update REACT_APP_API_URL in .env

API Environments (other than localhost)

Misc.

  • Heroku CRA buildpack used - mars/create-react-app (full URL - https://buildpack-registry.s3.amazonaws.com/buildpacks/mars/create-react-app.tgz)
  • Also can run on heroku/nodejs buildpack

About

An app created w/ CRA to consume and display Riot API League data

https://simple-cra-staging.herokuapp.com

License:MIT License


Languages

Language:TypeScript 51.4%Language:JavaScript 45.8%Language:CSS 1.7%Language:HTML 1.1%Language:Shell 0.0%