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!
- Create a
.env
file based on the provided.env.example
. - Build the Docker container
$ docker run --env-file .env -p 3000:3000 -it ghcr.io/madgrades/madgrades.com
You can now access the frontend from http://localhost:3000
.
Alternatively, you can clone this repository and build the Docker image yourself:
$ docker build . -t madgrades.com
$ docker run --env-file .env -p 3000:3000 madgrades.com
- Nodejs >= 10 (?)
- NPM
- Git
- Install the required dependencies.
$ npm install
- Get a Madgrades API token from api.madgrades.com, or start up your own backend (see dockerfiles).
- Create a
.env
file based on the provided.env.example
. - Run the development server.
$ npm start
Create a production-ready app with:
$ npm run build
This is a course page: