{"id":18165671,"url":"https://github.com/kenec/service-2","last_synced_at":"2025-04-07T06:19:40.323Z","repository":{"id":67723999,"uuid":"177739668","full_name":"Kenec/service-2","owner":"Kenec","description":"Using this repo as a sample microservice for ECS deployment","archived":false,"fork":false,"pushed_at":"2019-03-27T13:58:27.000Z","size":53,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-13T10:35:08.220Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Kenec.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-03-26T07:52:25.000Z","updated_at":"2019-10-16T22:11:11.000Z","dependencies_parsed_at":null,"dependency_job_id":"f32bebd5-a382-4a11-a562-777fe7cf5209","html_url":"https://github.com/Kenec/service-2","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Kenec%2Fservice-2","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Kenec%2Fservice-2/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Kenec%2Fservice-2/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Kenec%2Fservice-2/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Kenec","download_url":"https://codeload.github.com/Kenec/service-2/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247601446,"owners_count":20964866,"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":[],"created_at":"2024-11-02T12:08:21.453Z","updated_at":"2025-04-07T06:19:40.260Z","avatar_url":"https://github.com/Kenec.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# time-app\nThis is a microservice application that displays time in UTC\n\n## Architecture\nThe service is hosted on AWS ECS. The simplified architectural diagram is shown below:\n![alt text](architecture.jpg?raw=true \"Title\")\n\nThe time-app service is not publicy accessible and can be reached through the internal application loadbalancer.\nThe opstest service sits in a public subnet talks to the time-app srvice through its internal loadbalancer.\nBoth services can scale in and out when the CPU is above 80% or 40% respectively.\n\n## Pipeline\nThe pipeline used in this setup is AWS Codepipeline. The pipeline can deploy to any of the four environment viz: \n- develop == develop branch on git\n- Staging == staging branch on git\n- Accepatnce == acceptance branch on git\n- Production == master branch on git\n\nWith AWS Codepipeline, we can deploy to another region simultenously.\n\n## Setup Project on Local\n  * install Docker and Node\n  * Clone the repository `git clone git@github.com:Kenec/service-2.git`\n  * Navigate to the directory of the project and run `Docker build -t time-app .`\n  * Run the docker container with  `Docker run -p 3000:3000 opstest`\n\n## Issues\nTo report an issue or give feedback, Click link\n[Issues and Feedback](https://github.com/Kenec/service-1/issues)\n\n## License\n[MIT License](https://github.com/Kenec/service-1)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkenec%2Fservice-2","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkenec%2Fservice-2","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkenec%2Fservice-2/lists"}