Git Product home page Git Product logo

piflab-store-api-microservice-composer's Introduction

docker-composer project for PIFLab API

Quick startup for demo

sudo docker-compose up
  • This command will start all service, database and everything is ready for used. But this way is not easy for debugging and developing (interractive shell, the gin process always run)

Environment setup for developing

  • Input these command to start the containers
sudo docker-compose up -d db_old
sudo docker-compose up -d db_product
sudo docker-compose run -p 9900:80 api_gateway bash
sudo docker-compose run -p 9901:80 product_service bash
  • The helper.sh script help to expand the shell commands, to use it
source helper.sh
  • GetCart
<iframe allowfullscreen frameborder="0" style="width:640px; height:480px" src="https://www.lucidchart.com/documents/embeddedchart/396fb866-6723-4439-a072-8f1015af9951" id="e-BjnU.~0gYZ"></iframe>
  • UpdateCart
<iframe allowfullscreen frameborder="0" style="width:640px; height:480px" src="https://www.lucidchart.com/documents/embeddedchart/396fb866-6723-4439-a072-8f1015af9951" id="Z~BjlXV7VpB3"></iframe>
  • DeleteCart
<iframe allowfullscreen frameborder="0" style="width:640px; height:480px" src="https://www.lucidchart.com/documents/embeddedchart/396fb866-6723-4439-a072-8f1015af9951" id="jaCjyoVmxx_I"></iframe>
  • CheckoutCart
<iframe allowfullscreen frameborder="0" style="width:640px; height:480px" src="https://www.lucidchart.com/documents/embeddedchart/396fb866-6723-4439-a072-8f1015af9951" id="IaCjsXl_PoZ6"></iframe>

piflab-store-api-microservice-composer's People

Contributors

zealotnt 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.