mv-leaderboard-app
所属分类:构建工具
开发工具:SCSS
文件大小:347KB
下载次数:0
上传日期:2022-07-02 10:03:47
上 传 者:
sh-1993
说明: 排行榜网站显示不同玩家提交的分数。它还允许玩家提交他们的分数...
(The Leaderboard ?? website displays scores submitted by different players. It also allows players to submit their scores. All data is stored using an external API service.)
文件列表:
mv-leaderboard-app-development (0, 2022-07-02)
mv-leaderboard-app-development\.eslintrc.json (438, 2022-07-02)
mv-leaderboard-app-development\.hintrc (337, 2022-07-02)
mv-leaderboard-app-development\.stylelintrc.json (331, 2022-07-02)
mv-leaderboard-app-development\LICENSE (1065, 2022-07-02)
mv-leaderboard-app-development\dist (0, 2022-07-02)
mv-leaderboard-app-development\dist\82be584979a55474b6b4.png (16428, 2022-07-02)
mv-leaderboard-app-development\dist\index.html (1513, 2022-07-02)
mv-leaderboard-app-development\dist\main.js (34935, 2022-07-02)
mv-leaderboard-app-development\package-lock.json (924914, 2022-07-02)
mv-leaderboard-app-development\package.json (1235, 2022-07-02)
mv-leaderboard-app-development\screenshot.png (78724, 2022-07-02)
mv-leaderboard-app-development\src (0, 2022-07-02)
mv-leaderboard-app-development\src\assets (0, 2022-07-02)
mv-leaderboard-app-development\src\assets\images (0, 2022-07-02)
mv-leaderboard-app-development\src\assets\images\trophy.png (16428, 2022-07-02)
mv-leaderboard-app-development\src\index.html (1476, 2022-07-02)
mv-leaderboard-app-development\src\index.js (584, 2022-07-02)
mv-leaderboard-app-development\src\modules (0, 2022-07-02)
mv-leaderboard-app-development\src\modules\api.js (1469, 2022-07-02)
mv-leaderboard-app-development\src\style.scss (2940, 2022-07-02)
mv-leaderboard-app-development\webpack.config.js (535, 2022-07-02)
![](https://img.shields.io/badge/Microverse-blueviolet)
# Leaderboard
> This website displays scores submitted by different players. It also allows you to submit a score. Scores submission and display is based on the [Leaderboard API service](https://www.notion.so/Leaderboard-API-service-24c0c3c116974ac49488d4eb0267ade3).
## Screenshot
## Built With
- HTML
- CSS/SCSS
- JavaScript(ES6)
- Webpack
## Live site
”— [Live Site Link](https://dewslyse.github.io/mv-leaderboard-app/)
## Getting Started
To get a local copy up and running follow this simple step:
- Clone repository to your local machine: `git@github.com:dewslyse/mv-leaderboard-app.git`
- `cd mv-leaderboard-app`
- Run `npm install` to install dependencies
- Run `npm start` to start app
## API information
- The [Leaderboard API](https://www.notion.so/Leaderboard-API-service-24c0c3c116974ac49488d4eb0267ade3) service was created by [Microvere](https://www.microverse.org/).
- **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": "Game of Thrones"
}
```
- Return value: unique identifier for the game
```
{
"result": "Game with ID: Zl4d7IVkemOTTVg2fUdz added."
}
```
- To submit a score, send a POST action to `Base URL` + `/games/` + `:id` + `/scores/`. E.g: `Base URL/games.Zl4d7IVkemOTTVg2fUdz/scores/`. Parameters example for POST action:
```
{
"user": "John Doe",
"score": 42
}
```
## Author
‘¤ **@dewslyse**
- GitHub: [@dewslyse](https://github.com/dewslyse)
## ¤ 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.
近期下载者:
相关文件:
收藏者: