A stats viewing fullstack web application using the Riot API
- Node.js
- Next.js
- Express.js
- MySQL database server on Aiven
- Riot.txt file for authentication
- Riot API key
- Separate deployments for backend server and frontend (e.g. Vercel)
NEXT_PUBLIC_SERVER_URL= Your server URL used when sending requests for data (e.g. https://summonerscardserver.com)
NEXT_PUBLIC_BASE_URL= Your URL used when using this build (e.g. https://summonerscard.com)
SQL_PASSWORD= MySQL database server password
DB_ENDPOINT= Database endpoint for Aiven MySQL databaseEnsure these variables are within a .env file inside the root directory
API_KEY= Riot API key
ALLOWED_ORIGIN= The URL used to host the frontend (e.g. https://summonerscard.com)Ensure these variables are within a .env file inside the root directory
> git clone https://github.com/jack-pap/Summoners-Card.git
> npm install > cd frontend
> npm run dev> cd server
> npm startDocumentation for all methods can be found here




