https://github.com/rdch106/jumpranking
Jump Ranking - REST Service + Web
https://github.com/rdch106/jumpranking
javascript ranking rest-api web
Last synced: about 2 months ago
JSON representation
Jump Ranking - REST Service + Web
- Host: GitHub
- URL: https://github.com/rdch106/jumpranking
- Owner: RDCH106
- License: lgpl-3.0
- Created: 2019-06-16T21:00:33.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2022-08-31T10:50:18.000Z (almost 4 years ago)
- Last Synced: 2025-12-12T22:42:20.730Z (6 months ago)
- Topics: javascript, ranking, rest-api, web
- Language: Python
- Homepage:
- Size: 442 KB
- Stars: 1
- Watchers: 0
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Jump Ranking
[](https://app.codacy.com/app/RDCH106/JumpRanking?utm_source=github.com&utm_medium=referral&utm_content=RDCH106/JumpRanking&utm_campaign=Badge_Grade_Dashboard)
[](https://github.com/RDCH106/JumpRanking/blob/master/LICENSE)
Simple Jump Ranking created using a REST service developed in Python and Web viewer developed in HTML and Javascript.
### What can I do with Jump Ranking?
* Run decoupled project with REST service and Web viewer
+ Run service in a server or cloud
+ Run Web viewer from repository or host the web in Apache server
* Use it as base project for bigger projects
### π οΈ Installation
#### π€ REST Service
Install service requirements using [requirements.txt](https://github.com/RDCH106/JumpRanking/blob/master/service/requirements.txt):
`pip install -r requirements.txt`
Run with and follow [linkero](https://github.com/ingran/linkero) instructions:
`python jumprankingAPI_main.py`
β οΈ REST service runs with Python2 and Python3
#### π Web Viewer
Host Web viewer directly from GitHub with [raw.githack.com](https://github.com/neoascetic/rawgithack):
https://raw.githack.com/RDCH106/JumpRanking/master/web/jumpranking-viewer.html
Use [`http_server_with_cors.py`](https://github.com/RDCH106/JumpRanking/blob/master/web/http_server_with_cors.py) server included in the project behing a reverse proxy with SSl certificate. The server include CORS support.
Host in a traditional Apache server, Nginx... or that you want.
### REST Service π API
Resgiters list access:
Verb (GET) - π No-Auth - Response (JSON)
https://your_host:port/jumpranking/api/v1/registers
π‘ You can open it from the browser by entering the URL
Add register:
Verb (POST) - πAuth - Response (JSON + HTTP 201 --> added)
https://your_host:port/jumpranking/api/v1/registers/\/\
π‘ Replace `` and `` by desired values
β οΈ Requiered HTTP Basic Auth using User:Password or using [Token](https://github.com/ingran/linkero/wiki/usage)
Delete registers list:
Verb (DELETE) - πAuth - Response (JSON + HTTP 204 --> deleted)
https://your_host:port/jumpranking/api/v1/registers
β οΈ Requiered HTTP Basic Auth using User:Password or using [Token](https://github.com/ingran/linkero/wiki/usage)