Simple demonstration of a flask and node API containerized using docker
Docker uses run.sh to start both the servers as CMD can only invoke one server at a time.
Simple API with three endpoints running at 127.0.0.1:5000:
- / - Returns details of author
- /brands - Returns list of brands
- /products/<brand_name> - Returns the list of products for the given complany which is actually internally fetched from the NodeJS API
Simple API with two endpoints running at 127.0.0.1:5001:
- / - Returns details of author
- /elements - Returns list of all details
- /products/ - Returns the list of products for the given complany
Simple JSON file