{"id":18588985,"url":"https://github.com/salaboy/fmtok8s-frontend","last_synced_at":"2025-07-12T05:06:00.484Z","repository":{"id":37272964,"uuid":"242795388","full_name":"salaboy/fmtok8s-frontend","owner":"salaboy","description":"From Monolith to K8s :: API Gateway / User Interface","archived":false,"fork":false,"pushed_at":"2023-05-09T08:35:22.000Z","size":32774,"stargazers_count":6,"open_issues_count":13,"forks_count":3,"subscribers_count":5,"default_branch":"main","last_synced_at":"2024-05-02T01:35:34.940Z","etag":null,"topics":["demo","java","kubernetes","microservices","orchestration","tutorial","workflow","workshop","zeebe"],"latest_commit_sha":null,"homepage":"http://salaboy.com","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/salaboy.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-02-24T17:11:55.000Z","updated_at":"2024-05-02T01:35:34.941Z","dependencies_parsed_at":"2023-02-02T14:31:11.402Z","dependency_job_id":null,"html_url":"https://github.com/salaboy/fmtok8s-frontend","commit_stats":null,"previous_names":[],"tags_count":100,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/salaboy%2Ffmtok8s-frontend","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/salaboy%2Ffmtok8s-frontend/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/salaboy%2Ffmtok8s-frontend/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/salaboy%2Ffmtok8s-frontend/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/salaboy","download_url":"https://codeload.github.com/salaboy/fmtok8s-frontend/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":223440202,"owners_count":17145334,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["demo","java","kubernetes","microservices","orchestration","tutorial","workflow","workshop","zeebe"],"created_at":"2024-11-07T00:49:52.488Z","updated_at":"2024-11-07T00:49:53.200Z","avatar_url":"https://github.com/salaboy.png","language":"JavaScript","funding_links":[],"categories":["JavaScript"],"sub_categories":[],"readme":"# From Monolith to K8s :: API Gateway / FrontEnd\n\nUser facing component as it contains an API Gateway and the User Interface of the Conference Platform.\n\n## Build and Release\n\n```\nmvn package\n```\n\n```\ndocker build -t salaboy/fmtok8s-frontend:0.1.0\ndocker push salaboy/fmtok8s-frontend:0.1.0\n```\n\n```\ncd charts/fmtok8s-frontend\nhelm package .\n```\n\nCopy tar to http://github.com/salaboy/helm and push\n\n### Using [Dagger](https://dagger.io)\n\n```\ngo run dagger.go publish-image salaboy/fmtok8s-frontend:0.1.0\n```\n\n```\ngo run dagger.go helm-package\n```\n\n## Running the front end only\n\nInstall all deps with yarn, from inside the `frontend` directory:\n\n```\nyarn install\n```\n\nStart the application:\n\n```\nyarn start\n```\n\n\n# CloudEvents Accepted for Tickets Flow\n\nCloud Event to Join the Queue\n\n```\ncurl -X POST http://localhost:8080/default/default -H \"Content-Type: application/json\" -H \"ce-type: Queue.CustomerJoined\"  -H \"ce-id: 123\"  -H \"ce-specversion: 1.0\" -H \"ce-source: curl-command\" -d '{\"sessionId\" : \"123\" }'\n```\n\nCloud Event received for Customer to Exit the Queue from Queue Service\n```\ncurl -X POST http://localhost:8080/default/default -H \"Content-Type: application/json\" -H \"ce-type: Queue.CustomerExited\"  -H \"ce-id: 123\"  -H \"ce-specversion: 1.0\" -H \"ce-source: curl-command\" -d '{\"sessionId\" : \"123\" }'\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsalaboy%2Ffmtok8s-frontend","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsalaboy%2Ffmtok8s-frontend","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsalaboy%2Ffmtok8s-frontend/lists"}