A Statistics Website For Clash Royale
About The Project
This website uses official Clash Royale API to fetch stats. Website contains the following features -
- Search players(via tag) and clans(via tag or name)
- Clans, players and clan wars leaderboard for 200+ locations.
- Search tournaments and see current global tournaments.
- Player profile with general stats, upcoming chests, battlelog and cards.
- Clan profile with general stats, members, current war and past wars.
- API caching using MongoDB. Automatic leaderboards update every midnight. All visited players and clans are also cached.
- Get an API Token from Clash Royale website
- Make a database named 'stats-king' and make the following collections
- Make .env file in root directory and paste this inside
TOKEN=api-token-here URI=mongodb-link-here PORT=port-here
- Clone the repo
- Run these commands
npm i npm start