Skip to content

StatsKing is a statistics website for Clash Royale using the official API.

Notifications You must be signed in to change notification settings

slxsh/stats-king

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation


Logo

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.

Built With

  • HTML
  • CSS
  • Jquery
  • Express
  • MongoDB
  • EJS

Getting Started

  • Get an API Token from Clash Royale website
  • Make a database named 'stats-king' and make the following collections

db

  • 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

Screenshots

(Perspective has been changed for screenshots) home leaderboards clan player

Author

Imtiaz Alam

About

StatsKing is a statistics website for Clash Royale using the official API.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published