{"id":21529731,"url":"https://github.com/samsamskies/gist-clone","last_synced_at":"2025-10-07T13:05:36.939Z","repository":{"id":69650009,"uuid":"154600315","full_name":"SamSamskies/gist-clone","owner":"SamSamskies","description":"Project to practice program interface design","archived":false,"fork":false,"pushed_at":"2018-11-05T08:29:14.000Z","size":47,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-07T13:05:33.080Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/SamSamskies.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,"zenodo":null}},"created_at":"2018-10-25T02:48:08.000Z","updated_at":"2018-11-05T08:29:16.000Z","dependencies_parsed_at":null,"dependency_job_id":"2dced81a-8150-43ee-83c7-69052b8c4262","html_url":"https://github.com/SamSamskies/gist-clone","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/SamSamskies/gist-clone","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SamSamskies%2Fgist-clone","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SamSamskies%2Fgist-clone/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SamSamskies%2Fgist-clone/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SamSamskies%2Fgist-clone/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SamSamskies","download_url":"https://codeload.github.com/SamSamskies/gist-clone/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SamSamskies%2Fgist-clone/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278778974,"owners_count":26044259,"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","status":"online","status_checked_at":"2025-10-07T02:00:06.786Z","response_time":59,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":"2024-11-24T01:58:51.427Z","updated_at":"2025-10-07T13:05:36.910Z","avatar_url":"https://github.com/SamSamskies.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"DISCLAIMER: If you are looking at this repo for some reason, I do not recommend using Sequelize like I did. I just wanted to try it out. I'd recommend using Knex instead.\n\n# User stories\n- [ ] signup\n- [ ] login\n- [ ] view summaries of all gists\n- [ ] search for gist\n- [ ] create gist (public/secret)\n- [ ] add file to gist\n- [ ] delete file from gist\n- [ ] view gist\n- [ ] edit gist\n- [ ] delete gist\n- [ ] star gist\n- [ ] download gist\n- [ ] view summaries of all gists\n- [ ] view summaries of all forked gists\n- [ ] view all starred gists\n\n\n# Logical model\n## Entities\n* Users\n* Gists\n* Revisions\n* Files\n* Diffs\n\n\n## Relationships\n### users \u003c=\u003e gists\n* Users can have many gists\n* A gist belongs to one user\n\n### gists \u003c=\u003e revisions\n* Gists must have at least one revision and can have many revisions\n* A revision belongs to one gist\n\n### revisions \u003c=\u003e files\n* Revisions must have at least one file and can have many files\n* A file belongs to one revision\n\n### files \u003c=\u003e diffs\n* Files can have one diff\n* A diff belongs to one file\n\n\n## Attributes\n### users\n* username*\n* password* \n* email*\n* created_at*\n* updated_at*\n\n### gists\n* user_id*\n* description\n* num_stars (default 0)\n* is_secret (default false)\n* created at*\n* updated at*\n\n### revisions\n* gist_id*\n* created_at*\n\n### files\n* revision_id*\n* name*\n* content*\n* created_at*\n\n### diffs\n* file_id*\n* content\n\n\n## Invariants\n* Must have an account to create a gist\n* Gist must always have at least one revision\n* Revisions are immutable\n* Files are immutable\n* Diffs are immutable\n* If gist is secret, hide gist from search engines\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsamsamskies%2Fgist-clone","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsamsamskies%2Fgist-clone","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsamsamskies%2Fgist-clone/lists"}