Leaderboard

A leaderboard showing the names and current scores of the leading competitors.The project is set up as a javaScript project using webpack and ES6 features.

Stars
4

Leaderboard

A leaderboard showing the names and current scores of the leading competitors.The project is set up as a javaScript project using webpack and ES6 features.

Built With

  • Html
  • Csss
  • Js
  • Technologies used: webpack, Git, Github
  • REST Api

Live Demo (if available)

Live Demo

Getting Started

To get the project locally , run

git clone https://github.com/iambenkis/Leaderboard.git

Prerequisites

  • node
  • npm

Install

Install webpack with npm :

npm install --save-dev webpack

Usage

  • To get the configuration of the app: Run
npm install
  • API consuming
  const getScore = async () => {
  const response = await
  fetch('https://us-central1-js-capstone-backend.cloudfunctions.net/api/games/Jimsa5KtKCwfICVDsBiC/scores/');
  let scores = [];
  scores = await response.json();
  return scores.result;
};

Run tests

  • To update changes : Run
npm run build
  • To launch the app locally: Run
    npm start

Authors

👤 Benjamin Kisenge

🤝 Contributing

Contributions, issues, and feature requests are welcome!

Feel free to check the issues page.

Show your support

Give a ⭐️ if you like this project!

Acknowledgments

  • Hat tip to anyone whose code was used
  • Inspiration
  • etc

📝 License

This project is MIT licensed.

NOTE: we recommend using the MIT license - you can set it up quickly by using templates available on GitHub. You can also use any other license if you wish.

Related Projects