{"id":37789291,"url":"https://github.com/spectrocloud/hello-universe-db","last_synced_at":"2026-01-16T15:15:23.350Z","repository":{"id":103555540,"uuid":"583373081","full_name":"spectrocloud/hello-universe-db","owner":"spectrocloud","description":"A Spectro Cloud demo application. This is the database that supports the Hello Universe app.","archived":false,"fork":false,"pushed_at":"2026-01-02T14:18:02.000Z","size":2066,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":5,"default_branch":"main","last_synced_at":"2026-01-08T20:20:46.692Z","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":"mpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/spectrocloud.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":"CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2022-12-29T15:29:50.000Z","updated_at":"2026-01-02T14:18:06.000Z","dependencies_parsed_at":null,"dependency_job_id":"f04305a8-d83a-4b08-b52d-61f2022bc28f","html_url":"https://github.com/spectrocloud/hello-universe-db","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/spectrocloud/hello-universe-db","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spectrocloud%2Fhello-universe-db","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spectrocloud%2Fhello-universe-db/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spectrocloud%2Fhello-universe-db/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spectrocloud%2Fhello-universe-db/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/spectrocloud","download_url":"https://codeload.github.com/spectrocloud/hello-universe-db/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spectrocloud%2Fhello-universe-db/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28479406,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-16T11:59:17.896Z","status":"ssl_error","status_checked_at":"2026-01-16T11:55:55.838Z","response_time":107,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":"2026-01-16T15:15:22.883Z","updated_at":"2026-01-16T15:15:23.329Z","avatar_url":"https://github.com/spectrocloud.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![semantic-release: angular](https://img.shields.io/badge/semantic--release-angular-e10079?logo=semantic-release)](https://github.com/semantic-release/semantic-release)\n\n# Hello Universe DB\n\nA Spectro Cloud demo application. This is the database that supports the [Hello Universe API](https://github.com/spectrocloud/hello-universe-api).\n\n\u003cp align=\"center\"\u003e\n\u003cimg src=\"./static/img/spectronaut.png\" alt=\"drawing\" width=\"400\"/\u003e\n\u003c/p\u003e\n\n# Overview\n\nThe [Hello Universe](https://github.com/spectrocloud/hello-universe) app includes an [API server](https://github.com/spectrocloud/hello-universe-api) that relies on a Postgres database for storing the number of events and other metadata about the events such as the browser, os, and timestamp. For your convenience, a Postgres container is available for use.\n\n## Prerequisites\n\nEnsure [Docker Desktop](https://www.docker.com/products/docker-desktop/) is available on your local machine. \n\n- Use the following command and ensure you receive an output displaying the version number.\n    ```\n    docker version\n    ```\n    \nAlternatively, you can install [Podman](https://podman.io/docs/installation).\n\n- If you are not using a Linux operating system, create and start the Podman Machine in your local environment. Otherwise, skip this step.\n    ```\n    podman machine init\n    podman machine start\n    ```\n- Use the following command and ensure you receive an output displaying the installation information.\n    ```\n    podman info\n    ```\n\n## Usage\n\nYou can issue the following commands to use the container with Docker.\n\n```\ndocker pull ghcr.io/spectrocloud/hello-universe-db:1.1.0 \u0026\u0026 \\\ndocker run -p 5432:5432 ghcr.io/spectrocloud/hello-universe-db:1.1.0\n```\n\nIf you choose Podman, you can use the following commands.\n\n```\npodman pull ghcr.io/spectrocloud/hello-universe-db:1.1.0 \u0026\u0026 \\\npodman run -p 5432:5432 ghcr.io/spectrocloud/hello-universe-db:1.1.0\n```\n\nThe command you issued downloaded the container and exposed port `5432`. The default user name is `postgres` and the password is `password`.\n\n### Database Schema\n\nThe database uses the following schema for the `counter` table.\n\n| Field     | Description                                  | Type      |\n| --------- | -------------------------------------------- | --------- |\n| `id`      | The primary key.                             | Number    |\n| `page`    | The page associated with the event.          | Varchar   |\n| `date`    | The timestamp of the event.                  | Timestamp |\n| `browser` | The client web browser.                      | Varchar   |\n| `os`      | The client operating system.                 | Varchar   |\n\n## Image Verification\n\nWe sign our images through [Cosign](https://docs.sigstore.dev/signing/quickstart/). Review the [Image Verification](./docs/image-verification.md) page to learn more.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fspectrocloud%2Fhello-universe-db","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fspectrocloud%2Fhello-universe-db","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fspectrocloud%2Fhello-universe-db/lists"}