{"id":16144290,"url":"https://github.com/ryanj/rht-summit-2023-sample-application","last_synced_at":"2025-08-01T23:37:40.150Z","repository":{"id":232586289,"uuid":"642051911","full_name":"ryanj/rht-summit-2023-sample-application","owner":"ryanj","description":null,"archived":false,"fork":false,"pushed_at":"2023-05-17T18:01:33.000Z","size":515,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-02-13T02:16:16.357Z","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/ryanj.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}},"created_at":"2023-05-17T18:01:30.000Z","updated_at":"2023-05-17T18:01:38.000Z","dependencies_parsed_at":"2024-04-10T13:20:22.297Z","dependency_job_id":"b94dc042-768c-4145-aa44-441d90b4b8d2","html_url":"https://github.com/ryanj/rht-summit-2023-sample-application","commit_stats":null,"previous_names":["ryanj/rht-summit-2023-sample-application"],"tags_count":0,"template":false,"template_full_name":"evanshortiss/rht-summit-2023-sample-application","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ryanj%2Frht-summit-2023-sample-application","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ryanj%2Frht-summit-2023-sample-application/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ryanj%2Frht-summit-2023-sample-application/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ryanj%2Frht-summit-2023-sample-application/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ryanj","download_url":"https://codeload.github.com/ryanj/rht-summit-2023-sample-application/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247543598,"owners_count":20955865,"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-10-10T00:12:13.869Z","updated_at":"2025-04-06T20:15:11.388Z","avatar_url":"https://github.com/ryanj.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Red Hat Summit 2023 GitOps Sample Application\n\nThis repository contains a simple Node.js application that renders a web page\ncontaining a randomly chosen meme.\n\n![alt text](https://github.com/evanshortiss/rht-summit-2023-sample-application/blob/main/screenshot.png?raw=true)\n\n## Overview\n\nThe *k8s* directory contains a set of Kubernetes/OpenShift resources that can be used\nto deploy the Node.js application on an OpenShift cluster.\n\nThe memes displayed by the application are chosen at random from the\n*application/images.json* file. It's possible to use a different file by setting\nthe `IMAGES_JSON_FILEPATH` environment variable to point to a different file.\nWhen deployed on OpenShift using the resources in the *k8s/* folder, the\napplication mounts a ConfigMap containing the memes that should be used.\n\nGitHub Actions is used for CI (Continuous Integration). Modifying the code in\nthe *application/* directory will trigger an Action to build and push a new\ncontainer image to https://quay.io/evanshortiss/random-meme. Similarly, changes\nto the *k8s/config-map.yaml* will trigger an Action that verifies that the image\nURLs in the ConfigMap actually resolve to images.\n\n## Local Development\n\nRequires Node.js v18. The following commands will start a local development\nserver that automatically detects file changes and restarts the Node.js server:\n\n```\ncd application\nnpm ci\nnpm run dev\n```\n\n## Contributing Memes\n\nThe basic process for adding a meme is:\n\n1. Sign into your GitHub Account.\n1. Open the _[k8s/config-map.yaml](https://github.com/evanshortiss/rht-summit-2023-sample-application/blob/main/k8s/config-map.yaml)_ in your browser, and click on the edit (pencil) icon.\n1. Add the URL to your meme to the `images.json` array.\n1. Save the change and click on the **Create pull request** button that appears.\n1. Wait for the repository owner to merge your pull request.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fryanj%2Frht-summit-2023-sample-application","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fryanj%2Frht-summit-2023-sample-application","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fryanj%2Frht-summit-2023-sample-application/lists"}