{"id":19030736,"url":"https://github.com/hossara/upload_file_gridfs","last_synced_at":"2026-04-08T20:03:26.254Z","repository":{"id":233365280,"uuid":"786998468","full_name":"Hossara/upload_file_gridfs","owner":"Hossara","description":"Upload file into GridFS using fastify.js","archived":false,"fork":false,"pushed_at":"2024-04-15T22:46:41.000Z","size":60,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-16T19:09:55.495Z","etag":null,"topics":["docker","docker-compose","fastify","gridfs","mongodb","nodejs","nodemon","pipeline","pnpm","stream","tap","test","typescript","upload"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/Hossara.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}},"created_at":"2024-04-15T17:39:55.000Z","updated_at":"2024-04-15T22:48:01.000Z","dependencies_parsed_at":"2024-04-15T23:56:55.440Z","dependency_job_id":"91f8e2d3-07dc-41c0-b0f4-241aab487e99","html_url":"https://github.com/Hossara/upload_file_gridfs","commit_stats":null,"previous_names":["hossara/upload_file_gridfs"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Hossara/upload_file_gridfs","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Hossara%2Fupload_file_gridfs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Hossara%2Fupload_file_gridfs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Hossara%2Fupload_file_gridfs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Hossara%2Fupload_file_gridfs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Hossara","download_url":"https://codeload.github.com/Hossara/upload_file_gridfs/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Hossara%2Fupload_file_gridfs/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31571601,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-08T14:31:17.711Z","status":"ssl_error","status_checked_at":"2026-04-08T14:31:17.202Z","response_time":54,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["docker","docker-compose","fastify","gridfs","mongodb","nodejs","nodemon","pipeline","pnpm","stream","tap","test","typescript","upload"],"created_at":"2024-11-08T21:19:17.930Z","updated_at":"2026-04-08T20:03:26.233Z","avatar_url":"https://github.com/Hossara.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Upload file into GridFS using fastify.js\nThis has been a research and test project for me to find and test different methods of uploading files and actually the best method of uploading files and saving them in GridFs.\n\nI'm using fastify as a server framework and tap as testing framework.\n\n### Build and run\nYou can use docker to build and test the project. Just run:\n\n```bash\ndokcer-compose up -d\n```\nAnd then the backend is available with port `8085` and Mongo dashboard with port `8005`.\n\nIf you need to test the code, just run:\n```bash\ndokcer-compose -f docker-compose.test.yaml up\n```\nAnd the tap will run some tests and print you the test results.\n\n### Commands\n```bash\n# To start backend\npnpm start\n\n# To build application\npnpm build\n\n# To test the code\npnpm test\n\n# Run automatically before pnpm build\npnpm prebuild \n\n# Run automatically before pnpm start\npnpm prestart \n```\n\n### Contributors\n- Hossein Araghi\n  - [GitHub](https://github.com/hossara)\n  - [LinkedIn](https://linkedin.com/in/hossara)\n  - [Email](mailto:hossara.dev@gmail.com)\n  - [Instagram](https://instagram.com/hossara.dev)\n\n### Donate me\n\n\u003ca href=\"https://coffeebede.ir/hossara\"\u003e\n  \u003cimg src=\"https://img.shields.io/badge/buy me a coffee-darkgreen.svg?\u0026style=for-the-badge\u0026logo=buymeacoffee\u0026logoColor=white\" height=30\u003e\n\u003c/a\u003e","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhossara%2Fupload_file_gridfs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhossara%2Fupload_file_gridfs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhossara%2Fupload_file_gridfs/lists"}