{"id":22058817,"url":"https://github.com/odisseu93/file-storage-node","last_synced_at":"2026-04-09T18:33:13.820Z","repository":{"id":261308624,"uuid":"883906990","full_name":"Odisseu93/file-storage-node","owner":"Odisseu93","description":"Example of a backend created to save, retrieve and delete files in Google Cloud Storage, using Node.js, Express and the Firebase SDK.","archived":false,"fork":false,"pushed_at":"2024-11-09T19:13:18.000Z","size":84,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-28T22:51:18.959Z","etag":null,"topics":["back-end","bun","file-storage","google-cloud","image-storage","multer","prisma","sqlite","typescript"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/Odisseu93.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","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":"2024-11-05T19:33:52.000Z","updated_at":"2024-11-09T19:13:21.000Z","dependencies_parsed_at":"2025-01-28T22:51:19.865Z","dependency_job_id":"8eab4f0a-9409-476c-9d52-9485bab72e21","html_url":"https://github.com/Odisseu93/file-storage-node","commit_stats":null,"previous_names":["odisseu93/file-storage-node"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Odisseu93%2Ffile-storage-node","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Odisseu93%2Ffile-storage-node/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Odisseu93%2Ffile-storage-node/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Odisseu93%2Ffile-storage-node/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Odisseu93","download_url":"https://codeload.github.com/Odisseu93/file-storage-node/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245136355,"owners_count":20566586,"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":["back-end","bun","file-storage","google-cloud","image-storage","multer","prisma","sqlite","typescript"],"created_at":"2024-11-30T17:25:19.532Z","updated_at":"2026-04-09T18:33:13.781Z","avatar_url":"https://github.com/Odisseu93.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# File storage\nBackend for uploading, downloading and deleting files on Google Cloud.\n\n## Environment variables\n```bash\n\nAPI_URL=\"http://localhost:8080\"\nSERVICE_ACCOUNT_CREDENTIALS_PATH=\"./path_to_my_credential/credentials.json\"\n\n# Firebase environment variables\n# https://firebase.google.com/docs/app-distribution/authenticate-service-account?platform=ios\nAPI_KEY=\"my_api_key\"\nAUTH_DOMAIN=\"my_domain\"\nDATABASE_URL=\"my_database_url\"\nPROJECT_ID=\"firebase_project_id\"\nSTORAGE_BUCKET=\"my-bucket.com\"\nMESSAGING_SENDER_ID=\"0000000\"\nAPP_ID=\"id:00dsfdsljkjadslfkj\"\n\n```\n\n## Running locally \n**Bun (JavaScript runtime and toolkit)**: [installation link](https://bun.sh/)\n\nTo install project dependencies:\n```bash\nbun install\n```\n\n**[Prisma (ORM)](https://www.prisma.io/docs/getting-started)**\n\n\nApply prisma migrations:\n```bash\n# https://www.prisma.io/docs/orm/prisma-client/deployment/deploy-database-changes-with-prisma-migrate\nnpx prisma migrate deploy\n```\nGenerate Prisma Client\n\n```bash\n# https://www.prisma.io/docs/orm/prisma-client/deployment/deploy-database-changes-with-prisma-migrate\nnpx prisma generate\n```\n\nTo Run\n```bash\nbun run \n```\n\n## Some important links\n- [Multer NPM package](https://www.npmjs.com/package/multer)\n- [Firebase - Authenticate with a service account](https://firebase.google.com/docs/app-distribution/authenticate-service-account?platform=ios)\n- [Firebase Admin SDK](https://firebase.google.com/docs/admin/setup)\n- [Google cloud - Streaming-downloads](https://cloud.google.com/storage/docs/streaming-downloads)\n- [Google cloud - Upload objects from memory](https://cloud.google.com/storage/docs/uploading-objects-from-memory)\n- [Google cloud - Create a GET-signed URL](https://cloud.google.com/storage/docs/samples/storage-generate-signed-url-v4)\n\n## License\n[MIT](./LICENSE.md)\n## Developer\n\n\u003cdiv align=\"center\"\u003e\n  \u003cimg src=\"https://user-images.githubusercontent.com/76600539/235897309-88ab21df-d0be-4905-829c-36ab68ebc2e8.png\" alt=\"developer: Ulisses Silvério\"    width=\"200px\" align=\"center\"/\u003e\n\u003c/div\u003e\n\u003cbr\u003e\n\u003cdiv align=\"center\" margin=\"50px\"\u003e\n \u003ca href=\"https://ulisses.tec.br\" align=\"center\"\u003e\n  \u003cb\u003eUlisses Silvério\u003c/b\u003e\n\u003c/a\u003e\n\u003c/div\u003e\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fodisseu93%2Ffile-storage-node","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fodisseu93%2Ffile-storage-node","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fodisseu93%2Ffile-storage-node/lists"}