{"id":22615626,"url":"https://github.com/marcellodesales/in-memory-fs-coinbase","last_synced_at":"2025-03-29T00:42:38.775Z","repository":{"id":142072779,"uuid":"475717687","full_name":"marcellodesales/in-memory-fs-coinbase","owner":"marcellodesales","description":"Design an in-memory file-system problem","archived":false,"fork":false,"pushed_at":"2022-03-30T04:38:56.000Z","size":17,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-03T10:46:22.717Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","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/marcellodesales.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}},"created_at":"2022-03-30T04:25:43.000Z","updated_at":"2022-03-30T04:30:05.000Z","dependencies_parsed_at":"2023-07-09T05:31:28.880Z","dependency_job_id":null,"html_url":"https://github.com/marcellodesales/in-memory-fs-coinbase","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/marcellodesales%2Fin-memory-fs-coinbase","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marcellodesales%2Fin-memory-fs-coinbase/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marcellodesales%2Fin-memory-fs-coinbase/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marcellodesales%2Fin-memory-fs-coinbase/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/marcellodesales","download_url":"https://codeload.github.com/marcellodesales/in-memory-fs-coinbase/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246122247,"owners_count":20726822,"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-08T19:08:41.510Z","updated_at":"2025-03-29T00:42:38.751Z","avatar_url":"https://github.com/marcellodesales.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# In-memory File-system Problem\n\nThis is an implementation of an in-memory file-system + Web Service.\n\n\u003e Problem asked during interviews with Coinbase\n\n# Setup\n\npip install -r requirements.txt\n\n# Core\n\n\u003e Support: features implemented\n\n* mkdir: creates dir\n* write_file: creates file\n* read_file: read contents\n* read_dir: list the contents of dir\n\n# API\n\nRun ws.py and go to `localhost:8000/docs`\n\n\u003cimg width=\"1459\" alt=\"Screen Shot 2022-03-29 at 9 33 50 PM\" src=\"https://user-images.githubusercontent.com/131457/160752045-64b5fab7-1c68-48ed-882f-9c072cd2a3c7.png\"\u003e\n\n## HTTP POST /fs/{path}\n\n\u003e creates new dir or file\n\n## HTTP GET /fs/{path}\n\n\u003e retrieves info about dir or file\n\n## HTTP HEAD /fs/{path}\n\n\u003e verifies if the given path exists\n\n## HTTP DELETE: /fs/{path}\n\n\u003e deletes the given path if it's file or empty dir\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarcellodesales%2Fin-memory-fs-coinbase","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmarcellodesales%2Fin-memory-fs-coinbase","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarcellodesales%2Fin-memory-fs-coinbase/lists"}