Skip to content

slxsh/stats-king

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 

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