{"id":18045360,"url":"https://github.com/lance/elizabethan-insults","last_synced_at":"2025-07-07T11:12:30.493Z","repository":{"id":35560574,"uuid":"133369542","full_name":"lance/elizabethan-insults","owner":"lance","description":"Example Node.js application showing circuit breaker funcitonality","archived":false,"fork":false,"pushed_at":"2025-03-24T01:32:28.000Z","size":1919,"stargazers_count":2,"open_issues_count":101,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-10T01:41:18.333Z","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":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/lance.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-05-14T14:01:49.000Z","updated_at":"2019-09-10T17:43:57.000Z","dependencies_parsed_at":"2024-01-05T19:33:00.457Z","dependency_job_id":"69adef89-bfdd-4e6b-83f1-4beb7ed95f0b","html_url":"https://github.com/lance/elizabethan-insults","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/lance/elizabethan-insults","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lance%2Felizabethan-insults","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lance%2Felizabethan-insults/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lance%2Felizabethan-insults/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lance%2Felizabethan-insults/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lance","download_url":"https://codeload.github.com/lance/elizabethan-insults/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lance%2Felizabethan-insults/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264067156,"owners_count":23552154,"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-30T18:12:58.406Z","updated_at":"2025-07-07T11:12:30.469Z","avatar_url":"https://github.com/lance.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Elizabethan Insults App\n## A Circuit Breaker Example\n\nThis repository contains the code for a simple application which creates Elizabethan insults. There are three services.\n\n* The `adjective` service which exposes `GET /api/adjective`, returning a JSON object containing an antiquated adjective\n* The `noun` serivce which exposes `GET /api/noun`, returning a JSON object containing a colorfully descriptive noun\n* The `insult` service which exposes `GET /api/insult`, returning a JSON object containing an Elizabethan style insult composed of the aforementioned adjectives and nouns\n\nThe `insult` service also provides a simple HTTP front end at `GET /`.\n\n## Running the Application\n\n## Localhost\n\nExecute the `localhost.sh` script. It will install all of the dependencies and start each service\non a separate port on the local system.\n\n```sh\n$ ./localhost.sh\n```\n\n## OpenShift\n\nThis application should work on any current OpenShift instance. It has been developed and tested\nusing `minishift`. Whatever the OpenShift instance is, you need to be logged in to deploy.\n\n```sh\n$ minishift profile set riviera-dev\n$ minishift config set memory 4gb\n$ minishift config set vm-driver virtualbox\n$ minishift config set cpus 2\n$ minishift config set image-caching true\n$ minishift start\n$ oc login -u developer\n```\n\nThen you can run the `deploy.sh` script.\n\n```sh\n$ ./deploy.sh\n```\n\nEach service uses the `nodeshift` CLI to deploy to OpenShift.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flance%2Felizabethan-insults","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flance%2Felizabethan-insults","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flance%2Felizabethan-insults/lists"}