{"id":22919392,"url":"https://github.com/takapi327/freemarket_sample_66c","last_synced_at":"2025-05-12T20:13:36.551Z","repository":{"id":42598879,"uuid":"232303200","full_name":"takapi327/freemarket_sample_66c","owner":"takapi327","description":null,"archived":false,"fork":false,"pushed_at":"2023-01-19T16:42:19.000Z","size":2431,"stargazers_count":1,"open_issues_count":12,"forks_count":3,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-01T02:53:55.514Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Ruby","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/takapi327.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}},"created_at":"2020-01-07T10:43:28.000Z","updated_at":"2022-04-18T05:03:56.000Z","dependencies_parsed_at":"2023-01-28T20:46:18.188Z","dependency_job_id":null,"html_url":"https://github.com/takapi327/freemarket_sample_66c","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/takapi327%2Ffreemarket_sample_66c","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/takapi327%2Ffreemarket_sample_66c/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/takapi327%2Ffreemarket_sample_66c/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/takapi327%2Ffreemarket_sample_66c/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/takapi327","download_url":"https://codeload.github.com/takapi327/freemarket_sample_66c/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253814988,"owners_count":21968561,"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-12-14T07:11:55.451Z","updated_at":"2025-05-12T20:13:36.532Z","avatar_url":"https://github.com/takapi327.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# README\n\nThis README would normally document whatever steps are necessary to get the\napplication up and running.\n\nThings you may want to cover:\n\n* Ruby version\n\n* System dependencies\n\n* Configuration\n\n* Database creation\n\n* Database initialization\n\n* How to run the test suite\n\n* Services (job queues, cache servers, search engines, etc.)\n\n* Deployment instructions\n\n* ...\n\n\n## usersテーブル\n\n|Column|Type|Options|\n|------|----|-------|\n|nickname|string|null:false|\n|mail|string|unique:true, null:false|\n|password|string|null:false, null:false|\n|re_password|string|null:false, null:false|\n\n### Association\n- has_one :user_detail\n- has_many :products\n- has_many :sns_credentials\n- has_one :address\n\n## user_detailsテーブル\n\n|Column|Type|Options|\n|------|----|-------|\n|user_id|references|null:false|\n|name|string|null:false|\n|tel|string|null:false|\n|last_name|string|null:false|\n|first_name|string|null:false|\n|last_kana_name|string|null:false|\n|first_kana_name|string|null:false|\n|profile|text||\n\n### Association\n- belongs_to :user\n\n## addresssテーブル\n\n|Column|Type|Options|\n|------|----|-------|\n|user_id|references|null:false|\n|zip|string|null:false|\n|prefectures|string|null:false|\n|city|string|null:false|\n|number|string|null:false|\n|bill|string||\n|randline|string||\n\n### Association\n- belongs_to :user\n\n## sns_credentialsテーブル\n\n|Column|Type|Options|\n|------|----|-------|\n|user_id|references|null:false|\n|uid|string|unique:true,null:false|\n|provider|string|unique:true,null:false|\n\n### Association\n- belongs_to :user\n\n## cardsテーブル\n\n|Column|Type|Options|\n|------|----|-------|\n|user_id|references|null:false|\n|card_id|string|unique:true,null:false|\n|customer_id|string|null:false|\n\n### Association\n- belongs_to :user\n\n## productsテーブル\n\n|Column|Type|Options|\n|------|----|-------|\n|user_id|references|null:false|\n|name|string|null:false|\n|price|integer|null:false|\n|content|text|null:false|\n|status_id|integer|null:false|\n|derivery_id|integer|null:false|\n|burden_id|integer|null:false|\n|day_id|integer|null:false|\n|buyer_id|references|foreign_key:true|\n|seller_id|references|foreign_key:true|\n\n### Association\n- belongs_to :user\n- has_many :categories\n- has_many :images\n\n## imagesテーブル\n\n|Column|Type|Options|\n|------|----|-------|\n|product_id|references|foreign_key:true|\n|image|text|null:false|\n\n### Association\n- belongs_to :product\n\n## categoriesテーブル\n\n|Column|Type|Options|\n|------|----|-------|\n|product_id|references|null:false|\n|name|string|null:false|\n\n### Association\n- has_many :products\n- has_ancestry","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftakapi327%2Ffreemarket_sample_66c","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftakapi327%2Ffreemarket_sample_66c","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftakapi327%2Ffreemarket_sample_66c/lists"}