Git Product home page Git Product logo

containo's Introduction

Containo

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.

containo's People

Contributors

tomkerkhove avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.