This repository contains all the React components used to build EVEShip.fit.
Make sure you are authentication against the GitHub NPM. See here for instructions.
npm install
npm run dev
This will start a Storybook server, which allows you to view each component and interact with it. It will reload automatically on changes to the code.
Each Pull Request is validated by eslint
and prettier
.
To run this locally:
npm run lint
npm run format
The last command will modify source files where needed.
Via Storybook you can view all the components, their description, and how to use them.
This library can (freely) be used to visualize an EVE Fit in your own (React) application, by using the components you like most.
Important to note is that by default the data-files are downloaded from https://data.eveship.fit/
.
But this URL is protected by a CORS, to avoid unrealistic cost on our side.
If you use this library yourself, you would have to host these files yourself too.
You can define the URL they are hosted on in the EveDataProvider
via dataUrl
.