Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/iambenkis/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.
https://github.com/iambenkis/leaderboard
javascript webpack
Last synced: about 21 hours ago
JSON representation
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.
- Host: GitHub
- URL: https://github.com/iambenkis/leaderboard
- Owner: iambenkis
- Created: 2022-08-23T09:23:44.000Z (about 2 years ago)
- Default Branch: develop
- Last Pushed: 2022-09-19T23:52:01.000Z (about 2 years ago)
- Last Synced: 2023-03-11T06:37:55.098Z (over 1 year ago)
- Topics: javascript, webpack
- Language: JavaScript
- Homepage: https://iambenkis.github.io/Leaderboard/dist/
- Size: 6.35 MB
- Stars: 4
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
![](https://img.shields.io/badge/Microverse-blueviolet)
# 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.
![leaderborad](./leader.png)
## Built With
- Html
- Csss
- Js
- Technologies used: webpack, Git, Github
- REST Api## Live Demo (if available)
[Live Demo](https://iambenkis.github.io/Leaderboard/dist/)
## Getting Started
To get the project locally , run
```bash
git clone https://github.com/iambenkis/Leaderboard.git
```### Prerequisites
- node
- npm### Install
Install webpack with npm :
```bash
npm install --save-dev webpack
```### Usage
- To get the configuration of the app: Run
```bash
npm install
```- API consuming
```bash
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
```bash
npm run build
```
- To launch the app locally: Run
```bash
npm start
```## Authors
👤 **Benjamin Kisenge**
* GitHub: [@benjamin kisenge](https://github.com/iambenkis)
* Twitter: [@benjamin kisenge](https://twitter.com/iambenkis)
* LinkedIn: [benjamin kisenge](https://www.linkedin.com/in/ben-kisenge/)## 🤝 Contributing
Contributions, issues, and feature requests are welcome!
Feel free to check the [issues page](../../issues/).
## 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](./LICENSE) licensed.
_NOTE: we recommend using the [MIT license](https://choosealicense.com/licenses/mit/) - you can set it up quickly by [using templates available on GitHub](https://docs.github.com/en/communities/setting-up-your-project-for-healthy-contributions/adding-a-license-to-a-repository). You can also use [any other license](https://choosealicense.com/licenses/) if you wish._