zkr024 / Leaderboard

0 stars 0 forks source link

Leader-board

App to add name and score to the leader-board. Use Js to add functionality: -Add records. -Use localStorage to keep records. -Modules to separate functions. Use webpack to compile all the files.

Built With:

Live Demo

Click here

API information

The Leaderboard API service was created by Microvere.
Base URL: https://us-central1-js-capstone-backend.cloudfunctions.net/api/
To create a game, send a POST action to Base URL + /games, with the name of the game. Parameters example for POST action:

{ "name": "my Game" }

Return value: unique identifier for the game

{ "result": "Game with ID: eGQEQDjegs1D0sJkE8LU added." }

To submit a score, send a POST action to Base URL + /games/ + :id + /scores/. E.g: Base URL/games.eGQEQDjegs1D0sJkE8LU/scores/. Parameters example for POST action:

{ "user": "John Doe", "score": 43 }

Getting Started

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

Authors

👤 Oscar Bermudez

🤝 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.