Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/wolven531/simple-cra-app
An app created w/ CRA to consume and display Riot API League data
https://github.com/wolven531/simple-cra-app
create-react-app create-react-app-typescript createreactapp frontend-app frontend-mentor frontend-web league league-api league-of-legends leagueoflegends react riot riot-api riot-games-api typescript
Last synced: 3 months ago
JSON representation
An app created w/ CRA to consume and display Riot API League data
- Host: GitHub
- URL: https://github.com/wolven531/simple-cra-app
- Owner: Wolven531
- License: mit
- Created: 2021-06-03T23:32:56.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2022-02-02T03:46:30.000Z (almost 3 years ago)
- Last Synced: 2024-04-10T18:33:54.573Z (10 months ago)
- Topics: create-react-app, create-react-app-typescript, createreactapp, frontend-app, frontend-mentor, frontend-web, league, league-api, league-of-legends, leagueoflegends, react, riot, riot-api, riot-games-api, typescript
- Language: TypeScript
- Homepage: https://simple-cra-staging.herokuapp.com
- Size: 6.48 MB
- Stars: 4
- Watchers: 5
- Forks: 1
- Open Issues: 11
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
# 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](https://github.com/Wolven531/simple-nest-app)
## Available Scripts
In the project directory, you can run:
### `npm start`
Runs the app in the development mode; Open [http://localhost:4000](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)
* Staging API - [https://simple-nest-staging.herokuapp.com](https://simple-nest-staging.herokuapp.com)
* Production API - [https://simple-nest-prod.herokuapp.com](https://simple-nest-prod.herokuapp.com)## 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