Code Monkey home page Code Monkey logo

leaderboard's Introduction

Yuriy Chamkoriyski Leader's board project

The Leader's board 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.

screenshot

Description

In this activity I will set up a JavaScript project for the Leader board list app, using webpack and ES6 features, notably modules. I should develop a first working version of the app following a wire frame, but without styling - just focus on functionality. In following activities, I will consume the Leader board API using JavaScript async and await and add some styling.

Instructions:

Phase 1, setup project

  • Use Gitflow
  • Create an npm project with webpack
  • Write plain HTML markup with minimum styling (just to make the layout), because you will implement styles in the following steps
  • Don't make API calls (you'll do it in a following lesson).
  • Use ES6 modules, with import and export.

Phase 2, hit the API

  • Read the Leader board API documentation to learn how to use this API.
  • Create a new game with the name of your choice by using the API.
  • Implement the "Refresh" button (receiving data from the API and parsing the JSON).
  • Implement the form "Submit" button (sending data to the API).
  • Use async and await JavaScript features to consume the API.
  • No styling is required.

Phase 3, final touches

  • At this point I should have a fully working app that uses only basic styles to make the layout work, according to this wire frame:
  • screenshot
  • Now you should improve the look and feel of the application, adding the styles of your choice.
  • Please keep the general layout of the wire frame, this is the only mandatory requirement.
  • You can use plain CSS or any CSS framework, it's up to you.

Built With

  • Major languages: HTML, CSS, JS
  • Frameworks: none
  • Technologies used: Git, webpack, API

Live Demo

Getting Started

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

Prerequisites

  • Internet connection and browser
  • A text editor(preferably Visual Studio Code)
  • Browser

Setup

  • No setup required

Install

Usage

  • Clone the repository using git clone [email protected]:Hombre2014/Leaderboard.git
  • Change directory into the project folder cd Leaderboard
  • Run npm install from the terminal
  • Run npm start from the terminal
  • A new browser will open automatically with application loaded

Run tests

  • N/A

Deployment

  • All the files necessary for deployment are in the /dist folder

Author

๐Ÿ‘ค Yuriy Chamkoriyski

๐Ÿค 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

๐Ÿ“ License

This project is MIT licensed.

leaderboard's People

Contributors

hombre2014 avatar

Stargazers

Harshika Govind avatar Affaxed Kiprotich avatar Arina avatar Anuar Shaidenov avatar Anselem Odimegwu avatar Bogdan Stojanovic avatar

Watchers

James Cloos avatar  avatar

leaderboard's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.