This repo contains a react app and node.js backend that work together to allow the user to fetch data from the Clash Royale API specific to a certain players profile.
You must setup your own key to access API. A key can be created at https://developer.clashroyale.com/#/ Add .txt file named "key.txt" in your backend folder. Paste the key on a single line.
To start the frontend server type 'npm start' in your terminal while in the base folder. To start the backend server type 'npx nodemon index.js' in your terminal while in the backend folder. Press ctrl and c in the terminals to end the servers.
Input your Clash Royale player tag with the # and press the button to fetch your upcoming chests.