{"id":28195999,"url":"https://github.com/primaryobjects/storage-types","last_synced_at":"2025-09-15T14:46:16.155Z","repository":{"id":290126383,"uuid":"973450158","full_name":"primaryobjects/storage-types","owner":"primaryobjects","description":null,"archived":false,"fork":false,"pushed_at":"2025-04-27T02:49:40.000Z","size":0,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-27T03:27:38.746Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"HTML","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/primaryobjects.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,"zenodo":null}},"created_at":"2025-04-27T02:37:28.000Z","updated_at":"2025-04-27T02:49:44.000Z","dependencies_parsed_at":"2025-04-27T03:27:43.355Z","dependency_job_id":"2a2e3681-8d0c-4c7b-a375-a5514399cef3","html_url":"https://github.com/primaryobjects/storage-types","commit_stats":null,"previous_names":["primaryobjects/storage-types"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/primaryobjects%2Fstorage-types","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/primaryobjects%2Fstorage-types/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/primaryobjects%2Fstorage-types/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/primaryobjects%2Fstorage-types/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/primaryobjects","download_url":"https://codeload.github.com/primaryobjects/storage-types/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254544812,"owners_count":22088808,"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-05-16T14:15:04.369Z","updated_at":"2025-05-16T14:15:04.893Z","avatar_url":"https://github.com/primaryobjects.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"Storage Types\n=============\n\nStorage Types is a Blazor Server application that demonstrates different types of data storage, including structured, semi-structured, and unstructured data. It uses SQLite for structured data and JSON for unstructured data.\n\n![screenshot of storage types](screenshot.gif)\n\n## Features\n\n- Displays structured data from an SQLite database.\n- Renders unstructured data (images) from a JSON file.\n- Built with Blazor Server and Dockerized for easy deployment.\n\n## Quick Start\n\n1. Download [Docker](https://www.docker.com/products/docker-desktop).\n2. Run the container `docker-compose up -d`.\n\n*This will pull the container image from the GitHub Docker Registry.*\n\n## Run the Application with Docker\n\nTo manually start the application using Docker, follow these steps:\n\n1. Build the Docker image:\n    ```bash\n    docker build -t storage-demo .\n    ```\n2. Run the Docker container:\n    ```bash\n    docker run -d -p 8080:80 --name storage-demo storage-demo\n    ```\n\n3. Access the application in your browser at http://localhost:8080\n\n## Build and Publish the Docker Image\n\nAfter making changes to the project, the Docker container can be built and published to the Github Container Registry using the following steps.\n\n```bash\ndocker login --username \u003cUSERNAME\u003e --password \u003cYOUR_PERSONAL_ACCESS_TOKEN\u003e ghcr.io\ndocker build -t ghcr.io/primaryobjects/storage-demo:latest .\ndocker push ghcr.io/primaryobjects/storage-demo:latest\n```\n\n### Running the Docker Image\n\nThe Docker image can be launched using the following command to read `docker-compose.yml`.\n\n```bash\ndocker-compose up -d\n```\n\nAlternatively, manually launch the container.\n\n```bash\ndocker run --name storage-demo-container -d -p 8080:80 ghcr.io/primaryobjects/storage-demo:latest\n```\n\n## Project Structure\n\n```text\nStorageDemo/\n├── Components/\n│   ├── Data/                # Contains database.json and database.sqlite\n│   ├── Layout/              # Contains layout components like NavMenu\n│   ├── Pages/               # Contains Blazor pages like Home, Structured_Data, and Unstructured_Data\n├── Services/                # Contains services like StructuredDataService\n├── wwwroot/                 # Static files (e.g., images, CSS, JS)\n├── Dockerfile               # Dockerfile for building and running the app\n├── [docker-compose.yml](http://_vscodecontentref_/1)       # Docker Compose configuration (optional)\n└── [readme.md](http://_vscodecontentref_/2)                # Project documentation\n```\n\n## Requirements\n\n- .NET SDK 9.0\n- Docker\n\n## License\n\nMIT\n\n## Author\n\nKory Becker\nhttps://primaryobjects.com","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprimaryobjects%2Fstorage-types","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fprimaryobjects%2Fstorage-types","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprimaryobjects%2Fstorage-types/lists"}