{"id":29215475,"url":"https://github.com/mbejda/code-sample","last_synced_at":"2025-07-03T00:09:51.586Z","repository":{"id":46063719,"uuid":"205305758","full_name":"mbejda/code-sample","owner":"mbejda","description":"Node.js Code Sample","archived":false,"fork":false,"pushed_at":"2023-01-09T22:23:34.000Z","size":260,"stargazers_count":0,"open_issues_count":14,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2023-08-04T02:01:01.883Z","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/mbejda.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}},"created_at":"2019-08-30T04:41:02.000Z","updated_at":"2023-08-04T02:01:01.884Z","dependencies_parsed_at":"2023-02-08T15:01:50.647Z","dependency_job_id":null,"html_url":"https://github.com/mbejda/code-sample","commit_stats":null,"previous_names":[],"tags_count":0,"template":null,"template_full_name":null,"purl":"pkg:github/mbejda/code-sample","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mbejda%2Fcode-sample","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mbejda%2Fcode-sample/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mbejda%2Fcode-sample/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mbejda%2Fcode-sample/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mbejda","download_url":"https://codeload.github.com/mbejda/code-sample/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mbejda%2Fcode-sample/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263234966,"owners_count":23434922,"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":"2025-07-03T00:09:50.591Z","updated_at":"2025-07-03T00:09:51.471Z","avatar_url":"https://github.com/mbejda.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"I uploaded sample code I'm very proud of. \nI had to take it out of a larger personal project called \"rlty.app\" and make a few changes.\n\n## What this code does : \nThis code is part of a larger system and performs the following functions: \n\nIt creates a service and API endpoint called \"project(s)\". \n**Launches a CloudFormation stack that:**\n- Creates a new project bucket in S3 \n- Creates a new Route53 CNAME record and gives it an S3 bucket alias.\n\n## Why this code makes me happy:\nThere are 2 important bits here that I would like to highlight : \n\n**tests/integration** \u003cbr\u003e\nhttps://github.com/mbejda/code-sample/tree/master/services/projects/tests/integration\n\n\n**tests/unit** \u003cbr\u003e\nhttps://github.com/mbejda/code-sample/tree/master/services/projects/tests/unit\n\n\nAs I mentioned earlier, this code is part of a larger system which is made out of many moving parts. Integration tests and unit tests ensure  progress can be made on a service level without creating a need to test the whole system. \n\n*Unit tests* test how well the code works while *integration tests* test how well the code integrates with other services/parts.\n\nBoth save me a lot of time debugging , testing and developing, allowing me to spend more time on other things. That is why this code makes me happy. \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmbejda%2Fcode-sample","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmbejda%2Fcode-sample","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmbejda%2Fcode-sample/lists"}