Proof-of-Concept (PoC) application that calls 2 other services.
For example for "Hello world!" this app would be the one providing calling 2 services to get "Hello" and "world", and it would add the "!" at the end.
The purpose of this application is to be used for microservices tech demos and example implementations of tools.
It is in no way, shape, or form a reference for best practices, a good example, or a comprehensive anything. It is a minimal skeleton app with simple logic that can easily be extended.
For more complex demos see:
- Google Cloud Platform's microservices-demo
- Microsoft's eShopOnContainers
- Weaveworks' and Container Solutions' Sock Shop
- Istio's BookInfo
- Kubernetes' Guestbook
- The open-source, multi-language medium.com clones
This repository is configured with support for GitPod for easy development.
Local application commands:
npm ci # to install all dependencies
npm build # to build the app
npm start # to run the app (if not already running)
Docker commands, with the mention that you really should not put this in a container:
docker run --interactive --tty --rm \
--publish 3000:3000 \
public.ecr.aws/poc-hello-world/hello-service:latest
This repository is fork-friendly!
- fork this repository
- go to the "Actions" tab and enable GitHub Actions
- setup relevant secrets
- to build and push a container image to Amazon ECR
AWS_ACCESS_KEY_ID
looking something likeAKIAIOSFODNN7EXAMPLE
AWS_SECRET_ACCESS_KEY
looking something likewJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY
- to build and push a container image to Amazon ECR
- change relevant values in
.github/workflows/app-build-and-push.yaml
- change something in the code and create a new Pull Request
If you extend this application to do something, please create a Pull Request back with a link to your fork.
Fork link | Extras added |
---|---|
This project is provided under the MIT License. See LICENSE for more information.
Special credits go to @adaschevici for writing this. Thank you!