This simple project aims to connect to an API to fetch score data and display it on a LeaderBoard box, as well as provide the tool to submit a new score.

Overview

Leader Board: Hit the API!

This simple project aims to connect to an API to fetch score data and display it on a LeaderBoard box, as well as provide the tool to submit a new score.

Preview)

How much did you score last time you played with friends? What about having a healthy but fun competition? Keep track of your points with the LeaderBoard!.

Built With

  • HTML/SCSS, JavaScript
  • WebPack, Jest
  • Visual Studio Code

Live Demo

Live Demo Link

Getting Started

To get a local copy up and running follow these simple example steps.

  • Clone this repository with git clonehttps://github.com/JohnFTitor/leaderBoard.git using your terminal or command line.
  • Change to the project directory by entering :
    cd leaderBoard in the terminal

Prerequisites

You need to make sure to have installed the latest version of Node.js and npm on your computer.

Setup

You can clone this repository or simply download the files as a .zip If you want to set up a personal repository based on this one, you can as well fork it.

Install

After clone it and before working on it, you have to run npm install so that all the dependencies of the project get downloaded in your pc locally. Such dependencies include webpack and linters checks, for which you have to either generate your own config file or get one.

Note: If you're a Microverse's Student, you should use the config files provided by the program. Linters Config HTML/CSS and JS

Usage

You're free to use this project however you like it for educational purposes. Just keep in mind the acknowledgment described below

Run linters checks

Linter Checks are automatically run with Github actions when there's a pull request. If you want to run them locally, remember to have the config file in the root of the local project.

Deployment

The deployment can be found in the Github Pages of this repository or through the link provided above

Authors

πŸ‘€ AndrΓ©s Felipe Arroyave Naranjo

Acknowledgments

Show your support

Give a ⭐️ if you like this project!

πŸ“ License

This project is MIT licensed.

Comments
  • LeaderBoard V1.01

    LeaderBoard V1.01

    Hi there πŸ‘‹πŸ»

    Thanks for taking the time to review the project. Here are some things important to note about it:

    Sass

    The project was built using Sass. The only difference was that I needed to add an additional loader to webpack, but the result is overall the same (A CSS output). Additionally, I used MiniCssExtractPlugin to generate an external CSS file in the dist folder instead of the styles in the head of the document. It has the same dynamic response, it's just that the output looks more organized.

    Now into the project...

    Changes implemented in "dev" branch

    • βœ… Add Mobile Version Media Queries.

    Final notes

    Is expected that this project meets the requirements. Please let me know if anything is left to be done or can be improved. Again, thanks for the review.

    enhancement 
    opened by JohnFTitor 0
  • Add media queries for mobile version

    Add media queries for mobile version

    Hi there πŸ‘‹πŸ»

    Thanks for taking the time to review the project. Here are some things important to note about it:

    Sass

    The project was built using Sass. The only difference was that I needed to add an additional loader to webpack, but the result is overall the same (A CSS output). Additionally, I used MiniCssExtractPlugin to generate an external CSS file in the dist folder instead of the styles in the head of the document. It has the same dynamic response, it's just that the output looks more organized.

    Now into the project...

    Changes implemented in "mobile-version" branch

    • βœ… Add media queries for mobile version

    Final notes

    Is expected that this project meets the requirements. Please let me know if anything is left to be done or can be improved. Again, thanks for the review.

    enhancement 
    opened by JohnFTitor 0
  • LeaderBoard V1.0

    LeaderBoard V1.0

    Hi there πŸ‘‹πŸ»

    Thanks for taking the time to review the project. Here are some things important to note about it:

    Sass

    The project was built using Sass. The only difference was that I needed to add an additional loader to webpack, but the result is overall the same (A CSS output). Additionally, I used MiniCssExtractPlugin to generate an external CSS file in the dist folder instead of the styles in the head of the document. It has the same dynamic response, it's just that the output looks more organized.

    Now into the project...

    Changes implemented in "dev" branch

    • βœ… Include basic functionality using leaderBoard API.
    • βœ… Allow users to submit and retrieve scores from the API.
    • βœ… Use LocalStorage to keep the id

    Final notes

    Is expected that this project meets the requirements. Please let me know if anything is left to be done or can be improved. Again, thanks for the review.

    enhancement 
    opened by JohnFTitor 0
  • Styles

    Styles

    Hi there πŸ‘‹πŸ»

    Thanks for taking the time to review the project. Here are some things important to note about it:

    Sass

    The project was built using Sass. The only difference was that I needed to add an additional loader to webpack, but the result is overall the same (A CSS output). Additionally, I used MiniCssExtractPlugin to generate an external CSS file in the dist folder instead of the styles in the head of the document. It has the same dynamic response, it's just that the output looks more organized.

    Now into the project...

    Changes implemented in "styles" branch

    • βœ… Add Styles to elements inside the page.
    • βœ… Add animations to buttons.
    • βœ… Add sorting to leader board elements.

    Final notes

    Is expected that this project meets the requirements. Please let me know if anything is left to be done or can be improved. Again, thanks for the review.

    enhancement 
    opened by JohnFTitor 0
  • Leader board API

    Leader board API

    Hi there πŸ‘‹πŸ»

    Thanks for taking the time to review the project. Here are some things important to note about it:

    Sass

    The project was built using Sass. The only difference was that I needed to add an additional loader to webpack, but the result is overall the same (A CSS output). Additionally, I used MiniCssExtractPlugin to generate an external CSS file in the dist folder instead of the styles in the head of the document. It has the same dynamic response, it's just that the output looks more organized.

    Now into the project...

    Changes implemented in "leaderBoard-API" branch

    • βœ… Create a Game in the LeaderBoard API on window load.
    • βœ… Use LocalStorage to keep the id of the game.
    • βœ… Implement Submit button to send data to the API.
    • βœ… Implement the Refresh button to retrieve data from the API.
    • βœ… Create test cases for the functions responsible for getting and sending the data.
    • βœ… Use modular JavaScript to separate the API handler functions from the functionality functions.
    • βœ… Use Mocks to imitate the responses of the API for testing.

    Final notes

    Is expected that this project meets the requirements. Please let me know if anything is left to be done or can be improved. Again, thanks for the review.

    enhancement 
    opened by JohnFTitor 0
  • Basic layout

    Basic layout

    Hi there πŸ‘‹πŸ»

    Thanks for taking the time to review the project. Here are some things important to note about it:

    Sass

    The project was built using Sass. The only difference was that I needed to add an additional loader to webpack, but the result is overall the same (A CSS output). Additionally, I used MiniCssExtractPlugin to generate an external CSS file in the dist folder instead of the styles in the head of the document. It has the same dynamic response, it's just that the output looks more organized.

    Now into the project...

    Changes implemented in "basic-layout" branch

    • βœ… My code follows the style guidelines of this project.
    • βœ… Create the project using webpack.
    • βœ… Set up HTML markup with little styling following the wireframe.
    • βœ… Use ES6 modules to import styling

    Final notes

    Is expected that this project meets the requirements. Please let me know if anything is left to be done or can be improved. Again, thanks for the review.

    enhancement 
    opened by JohnFTitor 0
Owner
AndrΓ©s Felipe Arroyave Naranjo
Full-Stack Developer | JavaScript lover | hobbyist writer. I like to take challenges to grow and I'm looking for a new job opportunity to test my skills!
AndrΓ©s Felipe Arroyave Naranjo
Leaderboard web display recent scores for different players and it also allows you to submit a new score.

Leaderboard Leaderboard web display recent scores for different players and it also allows you to submit a new score. Getting Started To get a local c

Fahd Rahali 3 Apr 14, 2022
The Leaderboard App displays scores submitted by different players, allows you to submit your score and all data is preserved in the Leaderboard API service.

Leaderboard The Leaderboard App displays scores submitted by different players, allows you to submit your score and all data is preserved in the Leade

Jonathan Kayizzi 6 Nov 9, 2022
The leaderboard website displays scores submitted by different players. It also allows you to submit your score. All data is preserved thanks to the external Leaderboard API service. Built with Html, CSS and JavaScript

Leaderboard App ?? Table of Contents ?? About the Project ?? Built With Tech Stack Key Features ?? Live Demo ?? Getting Started Setup Prerequisites In

Tetteh Kodjo-Sarso 4 Mar 21, 2023
The leaderboard website displays scores submitted by different players. It also allows you to submit your score. All data is preserved thanks to the external Leaderboard API service.

Leaderboard The leaderboard website displays scores submitted by different players. It also allows you to submit your score. All data is preserved tha

Jihane Haddad 5 Feb 10, 2022
The leaderboard website displays scores submitted by different players. It also allows you to submit your score. All data is preserved thanks to the external Leaderboard API service.

Leaderboard The leaderboard website displays scores submitted by different players. It also allows you to submit your score. All data is preserved tha

Regiss Mukubiza 2 Apr 8, 2022
The leaderboard website displays scores submitted by different players. It also allows you to submit your score. All data is preserved thanks to the external Leaderboard API service.

Leaderboard- DESCRIPTION The leaderboard website displays scores submitted by different players. It also allows you to submit your score. All data is

Andres Garzon 2 Jun 16, 2022
The leaderboard website displays scores submitted by different players. It also allows you to submit your score. All data is preserved thanks to the external Leaderboard API service.

Leaderboard ?? Table of Contents ?? About the Project ?? Built With Tech Stack Key Features ?? Live Demo ?? Getting Started Setup Prerequisites Instal

Ritika Rawat 4 Mar 20, 2023
A leaderboard created using Leaderboard API service, Webpack, and Gitflow. The user can add a new score and refresh to see his ranking in the leaderboard.

Leaderboard A leaderboard created using Leaderboard API service, webpack, and gitflow. The user can add a new score and refresh to see his ranking in

ABDUL ALI 13 Dec 26, 2022
Clinton Mbonu 20 Jun 30, 2022
leaderBoard is a project used to add a score, view score list, and refresh score list. It is built using JS, HTML, BootStrap, and API.

LeaderBoard ?? Table of Contents ?? About the Project ?? Built With Tech Stack Key Features ?? Live Demo ?? Getting Started Setup Prerequisites Instal

Zewdie Habtie 4 Mar 20, 2023
An HTML, CSS and JavaScript project related to a leaderboard, where you can submit a specific score data using an API request

LeaderBoard-Project In this project we use Webpack dependecy and a external API for displaying the leaderboard data inside the dom. Built with HTML-CS

Nicolas Gonzalez 4 Mar 3, 2022
This website displays scores submitted by different players. It also allows you to submit your score. All data is preserved thanks to the external Leaderboard API service. Built with Webpack and ES6

Leaderboard This website displays scores submitted by different players. It also allows you to submit your score. All data is preserved thanks to the

Sanja Mandic 9 Sep 30, 2022
The leaderboard website displays scores submitted by different players. It also allows you to submit your score. All data is preserved thanks to the external API.

Leaderboard The leaderboard website displays scores submitted by different players. It also allows you to submit your score. All data is preserved tha

null 5 Mar 5, 2022
A leaderboard website which displays scores submitted by different players. It also allows you to submit your score. All data is preserved in the external game API.

Leaderboard LeaderBoard Built With HTML JavaScript CSS webpack Getting Started clone this repository. $ cd Leaderboard. $ npm run build . $ npm start

ahmednazirmusah 3 Oct 13, 2022
The leaderboard website displays scores submitted by different players. It also allows you to submit your score. I created this project using ES6 concepts. I connected to the Leadboard API service

Leaderboard App The leaderboard website displays scores submitted by different players. It also allows you to submit your score I created this project

Kwasi Antwi Baayeh 5 Dec 21, 2022
Custom alert box using javaScript and css. This plugin will provide the functionality to customize the default JavaScript alert box.

customAlertBoxPlugin Custom Alert Box Plugin Using JavaScript and CSS Author: Suraj Aswal Must Include CSS Code/Default Custom Alert Box Class: /* mus

Suraj Aswal 17 Sep 10, 2022
The leaderboard is website displays scores submitted by different players. It also allows you to submit your score.

Leaderboard The leaderboard is website displays scores submitted by different players. It also allows you to submit your score. Major languages HTML C

Mohammed Elseddik Rebbouh 3 Apr 19, 2022