• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

vbondyrev/GitHub-RestAPI: Simple RESTAPI with templates and MongoDB connection

原作者: [db:作者] 来自: 网络 收藏 邀请

开源软件名称:

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

  1. Run seperatly on localhost
  • 1.1. Make sure you have virtualenv and Python3 installed on your system
pip3 install virtualenv
  • 1.2. Clone the repo:
git clone https://github.com/vbondyrev/GitHub-RestAPI
  • 1.3. Install the virtualenv: virtualenv venv
  • 1.4. Activate the virtual environment:
source venv/bin/activate
  • 1.5. Install Python Requirements:
pip3 install -r requirements.txt 
  • 1.6. Uncomment this row:
conn = MongoClient("mongodb://localhost:27017/git_db", connect=False)  # DEV_ENV
  1. 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! :)




鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap