开源软件名称:vbondyrev/GitHub-RestAPI
开源软件地址:https://github.com/vbondyrev/GitHub-RestAPI
开源编程语言:
HTML
75.5%
开源软件介绍:GitHub-RestAPI
REST API for fetching GitHub Api data.
Overview
Features
- Overview top 10 stars list github repository
- Opportunity check detail info by git hub account login
- Use pagination per page when fetching github api data.
- Overview all repository with stars rate over 10000 stars.
Installing
- Run seperatly on localhost
- 1.1. Make sure you have virtualenv and Python3 installed on your system
git clone https://github.com/vbondyrev/GitHub-RestAPI
- 1.3. Install the virtualenv: virtualenv venv
- 1.4. Activate the virtual environment:
- 1.5. Install Python Requirements:
pip3 install -r requirements.txt
conn = MongoClient("mongodb://localhost:27017/git_db", connect=False) # DEV_ENV
- Run inside docker-compose
- 2.1. Make sure you have docker-compose installed on your system
- 2.2. Clone the repo:
git clone https://github.com/vbondyrev/GitHub-RestAPI
- 2.3. From folder with project run this script:
docker-compose -f docker-compose.yml up
Endpoints
All endpoints published via Postman requests:
Future developments
Thanks for attention and have a nice day! :)
|
请发表评论