The official website of the TumbledMTG custom Magic: the Gathering format, built with React and Firebase.
First, make sure Node.js is installed. Then configure a Firebase project and install the CLI.
Once that is done you can clone the repository git clone https://github.com/OKThomas1/TumbledMTG-Website.git.
To run the backend, first cd tumbledmtg-functions, then run firebase init and set up firebase functions with the project you created. Once your firebase project is configured, you need to set the secrets in firebase (see .runtimeconfig.example.json)
Once firebase is set up, execute:
npm install
firebase serve
To run the frontend, first cd tumbledmtg-react, then create a .env file and set REACT_APP_API_ENDPOINT to your custom endpoint (see .env.example).
Once that is done, execute:
npm install
npm start
If you are interesting in contributing, join the TumbledMTG Discord and contact Tumbles#3232 or Big Money#7196.