Skip to content

osrs-reldo/os-league-tools

Repository files navigation

O S - L E A G U E - T O O L S

Your hub for all your OSRS leagues needs - calculators, relics info, task tracking and planning, and more!

Looking for more info, or have a bug report or suggestion? Check out the Discord server.

Contributing

New contributors are always welcome. If you're interested in helping develop the site, take a look at the issue tracker to see what kind of things we are working on, and come by the Discord to chat about what you'd like to help with.

Code style

This project uses pre-commit hooks with ESLint and Prettier to maintain a consistent code style.

Development

Build

To build and start up locally, run:

npm install
npm start

and open http://localhost:3000 to view it in the browser.

Theming and styles

All styling is done using TailwindCSS utility classes. Unused CSS classes are pruned by tailwind's preprocessor, so if you add any classes that don't already exist somewhere in the project, you'll need to regenerate the compiled CSS to see it reflected in the site.

Styles are always regenerated during the build step, or you can manually regenerate them with:

npm run build:styles

Backend

Some functionality (hiscores, submitting feedback, anything to do with user data) relies on the Reldo backend API. If you need to test any of these features during local development, you will can either:

  • To develop against a local version of the API, clone osrs-reldo-api and start it up. The app will look for it on port 8080 by default.
  • Or if you just want to hit the prod endpoint, create a .env file in this project's root folder and add the env variable: REACT_APP_RELDO_URL=https://osrs-reldo-api.herokuapp.com

About

Webapp with calculators, trackers, and other tools for Old School Runescape's seasonal Leagues game mode

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages