Skip to content
This repository has been archived by the owner on Jun 29, 2018. It is now read-only.

Containo is a fictious company that is running a platform that is running .NET Core APIs in Docker containers and exposing them via Kong as an API gateway.

License

Notifications You must be signed in to change notification settings

tomkerkhove/containo-deprecated

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Containo

This repository is dead, a new version of this scenario is coming soon.

Build StatusLicense

Containo is a fictious company that is building a product that provides a catalog of products to buy that 3rd parties can consume.

The platform is running .NET Core APIs that are running in Docker containers exposed via Kong as an API gateway.

DockerKong

Architecture

Architecture

Installation

In order to run this sample you'll need to prepare your environment:

  1. Create a new docker network - docker network create api-ecosystem
  2. Install Kong that is using Cassandra or PostgreSQL as a data store. (Docker image)
  3. Deploy the containo API via Docker Compose in src/docker-compose.yml
  4. Create an API in Kong
curl -i -X POST \
  --url http://localhost:8001/apis/ \
  --data 'name=containo.api' \
  --data 'uris=//containo' \
  --data 'upstream_url=http://containo:80/api'
  1. Start consuming the API
curl -i -X GET --url localhost:8000/containo/records

Prefer a UI to manage Kong? You can either use Kong Dashboard, Kong CLI or KongDash desktop client, which are 3rd party tools that give you a Management UI.

Important - All containers need to be in the api-ecosystem network.

License Information

This is licensed under The MIT License (MIT). Which means that you can use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the web application. But you always need to state that Codit is the original author of this web application.

About

Containo is a fictious company that is running a platform that is running .NET Core APIs in Docker containers and exposing them via Kong as an API gateway.

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages