├── .gitignore ├── DEPLOYMENT.md ├── Dockerfile.backend ├── Dockerfile.frontend ├── README.md ├── docker-compose.yml ├── nginx.conf.example ├── pom.xml ├── src ├── main │ └── java │ │ └── p2p │ │ ├── App.java │ │ ├── controller │ │ └── FileController.java │ │ ├── service │ │ └── FileSharer.java │ │ └── utils │ │ └── UploadUtils.java └── test │ └── java │ └── p2p │ ├── AppTest.java │ └── test.txt ├── start.bat ├── start.sh ├── ui ├── README.md ├── next-env.d.ts ├── next.config.js ├── package-lock.json ├── package.json ├── postcss.config.js ├── src │ ├── app │ │ ├── globals.css │ │ ├── layout.tsx │ │ └── page.tsx │ └── components │ │ ├── FileDownload.tsx │ │ ├── FileUpload.tsx │ │ └── InviteCode.tsx ├── tailwind.config.js └── tsconfig.json └── vps-setup.sh /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/singhdevhub-lovepreet/PeerLink/HEAD/.gitignore -------------------------------------------------------------------------------- /DEPLOYMENT.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/singhdevhub-lovepreet/PeerLink/HEAD/DEPLOYMENT.md -------------------------------------------------------------------------------- /Dockerfile.backend: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/singhdevhub-lovepreet/PeerLink/HEAD/Dockerfile.backend -------------------------------------------------------------------------------- /Dockerfile.frontend: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/singhdevhub-lovepreet/PeerLink/HEAD/Dockerfile.frontend -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/singhdevhub-lovepreet/PeerLink/HEAD/README.md -------------------------------------------------------------------------------- /docker-compose.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/singhdevhub-lovepreet/PeerLink/HEAD/docker-compose.yml -------------------------------------------------------------------------------- /nginx.conf.example: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/singhdevhub-lovepreet/PeerLink/HEAD/nginx.conf.example -------------------------------------------------------------------------------- /pom.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/singhdevhub-lovepreet/PeerLink/HEAD/pom.xml -------------------------------------------------------------------------------- /src/main/java/p2p/App.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/singhdevhub-lovepreet/PeerLink/HEAD/src/main/java/p2p/App.java -------------------------------------------------------------------------------- /src/main/java/p2p/controller/FileController.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/singhdevhub-lovepreet/PeerLink/HEAD/src/main/java/p2p/controller/FileController.java -------------------------------------------------------------------------------- /src/main/java/p2p/service/FileSharer.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/singhdevhub-lovepreet/PeerLink/HEAD/src/main/java/p2p/service/FileSharer.java -------------------------------------------------------------------------------- /src/main/java/p2p/utils/UploadUtils.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/singhdevhub-lovepreet/PeerLink/HEAD/src/main/java/p2p/utils/UploadUtils.java -------------------------------------------------------------------------------- /src/test/java/p2p/AppTest.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/singhdevhub-lovepreet/PeerLink/HEAD/src/test/java/p2p/AppTest.java -------------------------------------------------------------------------------- /src/test/java/p2p/test.txt: -------------------------------------------------------------------------------- 1 | Hello World -------------------------------------------------------------------------------- /start.bat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/singhdevhub-lovepreet/PeerLink/HEAD/start.bat -------------------------------------------------------------------------------- /start.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/singhdevhub-lovepreet/PeerLink/HEAD/start.sh -------------------------------------------------------------------------------- /ui/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/singhdevhub-lovepreet/PeerLink/HEAD/ui/README.md -------------------------------------------------------------------------------- /ui/next-env.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/singhdevhub-lovepreet/PeerLink/HEAD/ui/next-env.d.ts -------------------------------------------------------------------------------- /ui/next.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/singhdevhub-lovepreet/PeerLink/HEAD/ui/next.config.js -------------------------------------------------------------------------------- /ui/package-lock.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/singhdevhub-lovepreet/PeerLink/HEAD/ui/package-lock.json -------------------------------------------------------------------------------- /ui/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/singhdevhub-lovepreet/PeerLink/HEAD/ui/package.json -------------------------------------------------------------------------------- /ui/postcss.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/singhdevhub-lovepreet/PeerLink/HEAD/ui/postcss.config.js -------------------------------------------------------------------------------- /ui/src/app/globals.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/singhdevhub-lovepreet/PeerLink/HEAD/ui/src/app/globals.css -------------------------------------------------------------------------------- /ui/src/app/layout.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/singhdevhub-lovepreet/PeerLink/HEAD/ui/src/app/layout.tsx -------------------------------------------------------------------------------- /ui/src/app/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/singhdevhub-lovepreet/PeerLink/HEAD/ui/src/app/page.tsx -------------------------------------------------------------------------------- /ui/src/components/FileDownload.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/singhdevhub-lovepreet/PeerLink/HEAD/ui/src/components/FileDownload.tsx -------------------------------------------------------------------------------- /ui/src/components/FileUpload.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/singhdevhub-lovepreet/PeerLink/HEAD/ui/src/components/FileUpload.tsx -------------------------------------------------------------------------------- /ui/src/components/InviteCode.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/singhdevhub-lovepreet/PeerLink/HEAD/ui/src/components/InviteCode.tsx -------------------------------------------------------------------------------- /ui/tailwind.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/singhdevhub-lovepreet/PeerLink/HEAD/ui/tailwind.config.js -------------------------------------------------------------------------------- /ui/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/singhdevhub-lovepreet/PeerLink/HEAD/ui/tsconfig.json -------------------------------------------------------------------------------- /vps-setup.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/singhdevhub-lovepreet/PeerLink/HEAD/vps-setup.sh --------------------------------------------------------------------------------