Navigation Menu

Skip to content

sonicaghi/apihub

 
 

Repository files navigation

Build Status

##What is ApiHub?

ApiHub is an open source solution for publishing APIs. It's a reverse proxy that sits between your api server and the world. Several apis require a similar set of features on the backend, such as: authentication, authorization, throttling, analytics and so on. The idea of this project is to provide a simple and easy way to integrate with existing apis and help the developers, so they do not need to implement all of those boilerplate features for each api they may have.

##Give it a try! ###Install the CLI

  brew tap apihub/homebrew-apihub
  brew install apihub

###Publish your service

Create an account

  apihub target-add default http://api.apimanager.org
  apihub target-set default
  apihub user-create -n Alice -e foo@bar.com
  apihub login foo@bar.com

Create a team and add a service

  apihub team-create -n "My Team" -a "my-team"
  apihub service-create -e https://tsuru.io -s my-tsuru -timeout 5 -t my-team

Well done!

curl -I http://my-tsuru.apimanager.org

##Quickstart

  git clone https://github.com/apihub/apihub.git
  cd apihub
  make setup
  make run-api

##Running Tests

  make test
  make race # If you want to check if there's any race condition.

Related projects

This project's inspired by the following projects:

Links:

##Contributing

Please refer to the documentation: https://apihub.readme.io/docs/guidelines

##License

Distributed under the New BSD License. See LICENSE file for further details.

Releases

No releases published

Packages

No packages published

Languages

  • Go 99.4%
  • Other 0.6%