Source code: https://github.com/kadel/guestbook-demo-frontend
Nginx server that servers html and javascript files.
Nginx also acts as reverse proxy for backend api server.
location /api/comments {
proxy_pass http://backend:3000/api/comments;
}
Source code: https://github.com/kadel/guestbook-demo-backend
Simple api server to save and read comments that saves comments to MongoDB database.
MongoDB database to save comments.
Typicaly bitnami/mongodb image is used.
Files to that can be used to deploy application using Kedge
The most simple Kedge file for this application
More complicated example that uses Kubernetes Secrets and Config Maps.