Giter Club home page Giter Club logo

os-league-tools's Introduction

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.