The source for madgrades.com, a web interface for visualizing the data provided by the Madgrades API [source]. Get it yourself, or visit the official website at madgrades.com!
It's easy to run your own madgrades interface, it's just a React app.
Requirements:
- Node (npm)
- That's it.
Steps:
-
Get the required dependencies,
npm install
. -
Get a Madgrades API token from api.madgrades.com.
-
Create a
.env.development
file with the following:REACT_APP_MADGRADES_API='https://api.madgrades.com/' REACT_APP_URL='https://madgrades.com' REACT_APP_MADGRADES_API_TOKEN='<your api token>' REACT_APP_GA_TRACKING_ID=''
Make sure to set your api token to your own.
-
Run the development server with
npm start
.
Create a production-ready app with npm run build
. Instead of a .env.development
file, you will need .env.production
with the same contents, assuming you are using the same key for production and development.
This is a course page: