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.
- Html
- Csss
- Js
- Technologies used: webpack, Git, Github
- REST Api
To get the project locally , run
git clone https://github.com/iambenkis/Leaderboard.git
- node
- npm
Install webpack with npm :
npm install --save-dev webpack
- 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;
};
- To update changes : Run
npm run build
- To launch the app locally: Run
npm start
๐ค Benjamin Kisenge
- GitHub: @benjamin kisenge
- Twitter: @benjamin kisenge
- LinkedIn: benjamin kisenge
Contributions, issues, and feature requests are welcome!
Feel free to check the issues page.
Give a โญ๏ธ if you like this project!
- Hat tip to anyone whose code was used
- Inspiration
- etc
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.