{"id":19756127,"url":"https://github.com/kushshriv/secure-file-sharing-java-spring","last_synced_at":"2025-07-02T02:05:09.404Z","repository":{"id":253733772,"uuid":"844342209","full_name":"KushShriv/Secure-File-Sharing-Java-Spring","owner":"KushShriv","description":"Simple Secure file sharing system made with java spring using an MVC framework","archived":false,"fork":false,"pushed_at":"2024-08-19T05:07:07.000Z","size":22130,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-28T09:10:49.662Z","etag":null,"topics":["java","maven","mvc-framework","spring","spring-boot"],"latest_commit_sha":null,"homepage":"","language":"Java","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/KushShriv.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":"2024-08-19T03:54:45.000Z","updated_at":"2024-08-19T06:55:05.000Z","dependencies_parsed_at":"2024-08-19T06:37:38.508Z","dependency_job_id":null,"html_url":"https://github.com/KushShriv/Secure-File-Sharing-Java-Spring","commit_stats":null,"previous_names":["kushshriv/secure-file-sharing-java-spring"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/KushShriv/Secure-File-Sharing-Java-Spring","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KushShriv%2FSecure-File-Sharing-Java-Spring","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KushShriv%2FSecure-File-Sharing-Java-Spring/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KushShriv%2FSecure-File-Sharing-Java-Spring/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KushShriv%2FSecure-File-Sharing-Java-Spring/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/KushShriv","download_url":"https://codeload.github.com/KushShriv/Secure-File-Sharing-Java-Spring/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KushShriv%2FSecure-File-Sharing-Java-Spring/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263061404,"owners_count":23407606,"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":["java","maven","mvc-framework","spring","spring-boot"],"created_at":"2024-11-12T03:14:46.747Z","updated_at":"2025-07-02T02:05:09.368Z","avatar_url":"https://github.com/KushShriv.png","language":"Java","readme":"# Secure File Sharing using Spring\r\n\u003cdiv align='center'\u003e\r\n\r\n![](https://img.shields.io/badge/Spring%20Boot-6DB33F.svg?style=for-the-badge\u0026logo=Spring-Boot\u0026logoColor=white)\r\n![](https://img.shields.io/badge/Spring-6DB33F.svg?style=for-the-badge\u0026logo=Spring\u0026logoColor=white)\r\n![](https://img.shields.io/badge/Apache%20Maven-C71A36.svg?style=for-the-badge\u0026logo=Apache-Maven\u0026logoColor=white)\r\n\u003c/div\u003e\r\n\r\n## Problem Statement\r\nThe project is an end-to-end secure file sharing system, following the P2P architecture. It is developed using the Spring MVC framework and built with Maven.\r\n\r\n### Overview\r\n- The system allows secure file sharing through rooms created by clients. Each room has an invite link that peers use to join the network for sending or receiving files. \r\n- Files are encrypted using AES (Advanced Encryption Standard) encryption algorithm before transmission. The sender encrypts the file with a secret key before sending it, and the receiver decrypts it using the same key available in the room. \r\n- Additionally, checksums are used to verify file integrity, with SHA-256 as the checksum algorithm. Encrypted files are stored in MongoDB for future reference.\r\n\r\n\r\n## Running the Project\r\n1. Clone the Repository:\r\n```\r\ngit clone https://github.com/KushShriv/Secure-File-Sharing-Java-Spring.git\r\n```\r\n\r\n2. Change to the Project Directory:\r\n```\r\ncd Safe-Send-Secure-File-Sharing-System\r\n```\r\n\r\n3. Install Maven Dependencies:\r\n```\r\nmvn install\r\nmvn clean install\r\n```\r\n\r\n4. Execute the Code:\r\n```\r\nmvn spring-boot:run\r\n```\r\n\r\n5. Access the Application in a Browser:\r\n\u003e PEER-1 at Port 8001 and PEER-2 at Port 8002\r\n\r\n```\r\nhttp://localhost:8001\r\nhttp://localhost:8002\r\n```\r\n\r\n### Note - Database Setup \r\n\u003e Connect to MongoDB before running the project.\r\n\u003e \r\n\u003e Create databases named `FileDB1` and `FileDB2`.\r\n\r\n#### Software Versions used:\r\n- Java - 17\r\n- Spring Boot - 2.6.7\r\n- Packaging - Jar\r\n- Maven","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkushshriv%2Fsecure-file-sharing-java-spring","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkushshriv%2Fsecure-file-sharing-java-spring","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkushshriv%2Fsecure-file-sharing-java-spring/lists"}