{"id":17886758,"url":"https://github.com/ishantchauhan710/fileupload-cloudbucket-nodejs-example","last_synced_at":"2025-08-20T01:07:42.015Z","repository":{"id":119379910,"uuid":"502643035","full_name":"ishantchauhan710/FileUpload-CloudBucket-NodeJs-Example","owner":"ishantchauhan710","description":null,"archived":false,"fork":false,"pushed_at":"2022-06-12T17:05:05.000Z","size":61,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-03T02:27:12.953Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/ishantchauhan710.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-06-12T14:45:16.000Z","updated_at":"2022-06-15T12:13:12.000Z","dependencies_parsed_at":"2023-07-04T15:01:15.594Z","dependency_job_id":null,"html_url":"https://github.com/ishantchauhan710/FileUpload-CloudBucket-NodeJs-Example","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ishantchauhan710/FileUpload-CloudBucket-NodeJs-Example","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ishantchauhan710%2FFileUpload-CloudBucket-NodeJs-Example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ishantchauhan710%2FFileUpload-CloudBucket-NodeJs-Example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ishantchauhan710%2FFileUpload-CloudBucket-NodeJs-Example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ishantchauhan710%2FFileUpload-CloudBucket-NodeJs-Example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ishantchauhan710","download_url":"https://codeload.github.com/ishantchauhan710/FileUpload-CloudBucket-NodeJs-Example/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ishantchauhan710%2FFileUpload-CloudBucket-NodeJs-Example/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":271247904,"owners_count":24725991,"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-08-19T02:00:09.176Z","response_time":63,"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-10-28T13:11:00.787Z","updated_at":"2025-08-20T01:07:41.992Z","avatar_url":"https://github.com/ishantchauhan710.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# NodeJs Cloud Bucket File Upload :open_file_folder:\n\nThis is a simple demonstration of how one can upload files from their nodejs server to cloud bucket storage! You can use this code to implement the cloud upload functionality in your projects!\n\nFor this project, I have used [Linode](https://www.linode.com/) cloud hosting provider along with [Aws Sdk](https://www.npmjs.com/package/aws-sdk) and [Multer S3](https://www.npmjs.com/package/multer-s3)\n\n### Pre Requisites :dart:\n1. A cloud hosting account like Aws or Linode\n2. Git and Npm installed on your computer\n3. Your hosting platform's access and secret Keys, bucket name and bucket region (You can easily get them by going through your hosting platform's documentation)\n\n### Project Setup :pencil:\n1. Clone this repository\n\n```\ngit clone https://github.com/ishantchauhan710/FileUpload-CloudBucket-NodeJs-Example.git\n```\n\n2. In the root folder, create .env file and write:\n```\nSTORAGE_ACCESS_KEY = YOUR-ACCESS-KEY\nSTORAGE_SECRET_KEY = YOUR-SECRET-KEY\nSTORAGE_BUCKET = YOUR-BUCKET-NAME\nSTORAGE_REGION = YOUR-BUCKET-REGION\n```\n\n3. Then install all the dependencies by opening terminal and writing:\n```\nnpm install\n```\n\n4. Then start the server by writing:\n```\nnpm start\n```\n\n5. Finally, to test the code, open your web browser and write:\n```\n127.0.0.1:7000\n```\n\n### Important Note :bangbang:\n1. In future, if you plan to update the project the dependencies, ensure that the aws-sdk and multer-s3 version starts with same digit eg. 2.x.x or 3.x.x otherwise you may get an error\n2. Never share your hosting credentials with anyone! Always keep them securely stored in environmental variables\n\n## Contact\nFor any queries, you can mail me at developerishant710@gmail.com\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fishantchauhan710%2Ffileupload-cloudbucket-nodejs-example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fishantchauhan710%2Ffileupload-cloudbucket-nodejs-example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fishantchauhan710%2Ffileupload-cloudbucket-nodejs-example/lists"}