{"id":21166043,"url":"https://github.com/peterdee/cellar-file-upload","last_synced_at":"2026-04-09T21:12:55.405Z","repository":{"id":103803745,"uuid":"240724216","full_name":"peterdee/cellar-file-upload","owner":"peterdee","description":"Upload files to the Clever Cloud Cellar storage","archived":false,"fork":false,"pushed_at":"2020-02-15T16:08:46.000Z","size":17,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"develop","last_synced_at":"2025-01-21T10:11:17.467Z","etag":null,"topics":["amazon","aws-sdk","cellar-storage","clever-cloud","express","file-upload","node","s3"],"latest_commit_sha":null,"homepage":"http://localhost:1111","language":"JavaScript","has_issues":false,"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/peterdee.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":"2020-02-15T14:13:57.000Z","updated_at":"2022-11-17T18:09:58.000Z","dependencies_parsed_at":null,"dependency_job_id":"71c20b37-8c0d-48c5-9258-6aa9a90df2b1","html_url":"https://github.com/peterdee/cellar-file-upload","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/peterdee%2Fcellar-file-upload","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/peterdee%2Fcellar-file-upload/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/peterdee%2Fcellar-file-upload/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/peterdee%2Fcellar-file-upload/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/peterdee","download_url":"https://codeload.github.com/peterdee/cellar-file-upload/tar.gz/refs/heads/develop","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243615340,"owners_count":20319726,"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":["amazon","aws-sdk","cellar-storage","clever-cloud","express","file-upload","node","s3"],"created_at":"2024-11-20T14:48:00.847Z","updated_at":"2026-04-09T21:12:55.378Z","avatar_url":"https://github.com/peterdee.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Upload files to the Clever Cloud Cellar storage\n\nThis application implementes the following functionality:\n- uploads the file to the [Clever Cloud Cellar](https://www.clever-cloud.com/doc/addons/cellar/) storage;\n- downloads the file from the storage (proxy downloading).\n\n**The `Cellar` service keys are required for this application!**\n\nStack: [`Node`](https://nodejs.org/en/), [`Express`](https://github.com/expressjs/express), [`AWS-SDK`](https://www.npmjs.com/package/aws-sdk).\n\nDefault application port: `1111`.\n\n### Available APIs\n\n- #### `/file [POST]`\n\nPOST-request that uploads the file to the Cellar storage.\n\nUploaded `FormData` should contain the file data in the `file` field, i. e.:\n\n```javascript\nconst formData = new FormData();\nformData.append('file', files[0]);\n\nconst response = await axios({\n  data: formData,\n  headers: {\n    'Content-Type': 'multipart/formdata',\n  },\n  method: 'POST',\n  url: 'http://localhost:1111/file',\n});\n```\n\n- #### `/file/:name [GET]`\n\nGET-request that downloads the file by the file name.\n\nRequest example:\n\n```text\nhttp://localhost:1111/file/file-1581780516810.jpg\n```\n\n- #### `/buckets [GET]`\n\nGET-request that provides the list of the available buckets.\n\n### Deploy\n\n```bash\ngit clone https://github.com/peterdee/cellar-file-upload\ncd ./cellar-file-upload\nnvm use 13.8\nnpm i\n```\n\n### Launch\n\n```bash\nnpm start\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpeterdee%2Fcellar-file-upload","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpeterdee%2Fcellar-file-upload","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpeterdee%2Fcellar-file-upload/lists"}