{"id":18573179,"url":"https://github.com/harshitrv/fileshare","last_synced_at":"2025-04-10T07:31:53.902Z","repository":{"id":41176706,"uuid":"508616691","full_name":"HarshitRV/FileShare","owner":"HarshitRV","description":"This web app,  also an API lets users  upload files and generates a link to share them. The generated links can be password protected.","archived":false,"fork":false,"pushed_at":"2024-07-29T09:37:55.000Z","size":16771,"stargazers_count":8,"open_issues_count":3,"forks_count":5,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-24T18:06:31.384Z","etag":null,"topics":["ejs","express","javascript","mongodb","mongoose","nodejs"],"latest_commit_sha":null,"homepage":"https://rapidshare.netlify.app","language":"JavaScript","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/HarshitRV.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"docs/contributing/contributing.md","funding":".github/FUNDING.yml","license":"LICENSE.md","code_of_conduct":"docs/code-of-conduct.md","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},"funding":{"github":null,"patreon":null,"open_collective":null,"ko_fi":"harshitrv","tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"lfx_crowdfunding":null,"custom":null}},"created_at":"2022-06-29T08:55:01.000Z","updated_at":"2024-07-29T08:02:18.000Z","dependencies_parsed_at":"2023-12-27T13:43:00.410Z","dependency_job_id":null,"html_url":"https://github.com/HarshitRV/FileShare","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/HarshitRV%2FFileShare","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HarshitRV%2FFileShare/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HarshitRV%2FFileShare/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HarshitRV%2FFileShare/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/HarshitRV","download_url":"https://codeload.github.com/HarshitRV/FileShare/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248176390,"owners_count":21060058,"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":["ejs","express","javascript","mongodb","mongoose","nodejs"],"created_at":"2024-11-06T23:08:16.184Z","updated_at":"2025-04-10T07:31:52.976Z","avatar_url":"https://github.com/HarshitRV.png","language":"JavaScript","readme":"# FileShare App ![CI](https://github.com/HarshitRV/FileShare/actions/workflows/node.js.yml/badge.svg)\nThis NodeJS app let't you upload files and generate a link to download them.\nThe generated links can be password protected as well.\n\n# Setting up the app locally.\n## Prerequisites\n- NodeJS v16.x\n- MongoDB v5.x  [Windows](https://medium.com/@LondonAppBrewery/how-to-download-install-mongodb-on-windows-4ee4b3493514) | [Mac](https://www.mongodb.com/docs/manual/tutorial/install-mongodb-on-os-x/)\n- MongoDB Compass(optional) \n- [tinyurl.com](https://tinyurl.com/) API key for shortening url links.\n\n1. Install dependencies:\n```sh\nnpm install\n```\n\n2. Run the app in devlopment environment:\n-  ```cd configs```\n- create ```dev.env``` file in the configs folder with the following content:\n```touch dev.env```\n```sh\nNODE_ENV=development\nMONGODB_LOCAL_URI=mongodb://localhost:27017/filesDB\nACCESS_TOKEN=\u003cyour tinyurl api token\u003e\nUPLOAD_PIN=\u003cUPLOAD PIN SECRET OF YOUR CHOICE\u003e\nSIGN_COOKIE=\u003cANY SECRET KEY OF YOUR CHOICE\u003e\n```\n3. Make sure your mongoDB is running and accessible from your local machine.\n4. Finally start the app\n```sh\nnpm run devstart\n```\n\n# Running test cases\n1. Install dependencies:\n```sh\nnpm install\n```\n2. Make sure your mongoDB is running and accessible from your local machine.\n3. Finally start the tests\n```\nnpm run test\n```\n\n# Production api documentation\n## [READ DOCS](https://documenter.getpostman.com/view/14307277/UzQyr4C8)\n# Contributing\n- Read the [Code of Conduct](./docs/code-of-conduct.md) first.\n- Contibuting [guidelines](./docs/contributing/contributing.md)\n\n","funding_links":["https://ko-fi.com/harshitrv"],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fharshitrv%2Ffileshare","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fharshitrv%2Ffileshare","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fharshitrv%2Ffileshare/lists"}