{"id":15152554,"url":"https://github.com/alvincrespo/data_models","last_synced_at":"2026-01-27T12:38:07.147Z","repository":{"id":252309428,"uuid":"839022226","full_name":"alvincrespo/data_models","owner":"alvincrespo","description":"Data model examples to help inspire.","archived":false,"fork":false,"pushed_at":"2024-08-08T20:48:39.000Z","size":141,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-02T02:20:02.244Z","etag":null,"topics":["data-modeling","database","ruby-on-rails"],"latest_commit_sha":null,"homepage":"","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/alvincrespo.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":"2024-08-06T20:07:33.000Z","updated_at":"2024-08-09T00:01:58.000Z","dependencies_parsed_at":null,"dependency_job_id":"6c7d7bb2-6df2-4588-b5ca-087f1f92ef5c","html_url":"https://github.com/alvincrespo/data_models","commit_stats":null,"previous_names":["alvincrespo/data_models"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/alvincrespo/data_models","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alvincrespo%2Fdata_models","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alvincrespo%2Fdata_models/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alvincrespo%2Fdata_models/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alvincrespo%2Fdata_models/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/alvincrespo","download_url":"https://codeload.github.com/alvincrespo/data_models/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alvincrespo%2Fdata_models/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28813215,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-27T12:25:15.069Z","status":"ssl_error","status_checked_at":"2026-01-27T12:25:05.297Z","response_time":168,"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":["data-modeling","database","ruby-on-rails"],"created_at":"2024-09-26T16:03:40.993Z","updated_at":"2026-01-27T12:38:07.142Z","avatar_url":"https://github.com/alvincrespo.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# Example Data Models\n\nThe goal of this project is to showcase example data models for real world applications. The content in this repository should\nbe a conversation starter and not the end all be all.\n\nThis project is inspired by \"[Database Answers](https://web.archive.org/web/20140209035055/http://databaseanswers.org/data_models/index.htm)\".\n\n## Setup\n\nThe setup here assumes you have Ruby and Docker installed and setup on your local computer.\n\nClone the repo.\n\n```sh\ngit clone git@github.com:alvincrespo/data_models.git\n```\n\nStart the database container.\n\n```sh\ndocker compose up\n```\n\nNavigate to the desired project:\n\n```sh\ncd examples/ecommerce\n```\n\nRun bundle install:\n\n```sh\nbundle\n```\n\nor\n\n```sh\nbundle install\n```\n\nCreate the database\n\n```sh\nbundle exec rails db:create\n```\n\nMigrate the database\n\n```sh\nbundle exec rails db:migrate\n```\n\nCongrats! You have now setup the application and can start tinkering with the example.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falvincrespo%2Fdata_models","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falvincrespo%2Fdata_models","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falvincrespo%2Fdata_models/lists"}