Skip to content

vikash-collab/FilesharingManagementApplication

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

10 Commits
Β 
Β 
Β 
Β 

Repository files navigation

πŸ“ Filesharing Management Application

A secure and efficient file-sharing platform built with Java and Spring Boot. This application enables users to upload, manage, and share files with role-based access control and audit logging.

A secure and efficient file-sharing platform built with Java and Spring Boot. This application enables users to upload, manage

✨ Features

  • πŸ” User Authentication & Authorization (Spring Security)
  • πŸ“€ File Upload & Download with metadata tracking
  • πŸ‘₯ Role-Based Access Control (Admin, User)
  • πŸ•΅οΈ Audit Logging for file operations
  • πŸ”Ž File Categorization and search
  • πŸ“Š Dashboard for file statistics (optional)
  • πŸ“‘ RESTful APIs for integration and automation

πŸ› οΈ Tech Stack

Layer Technology Backend Java 17+, Spring Boot, Maven Security Spring Security 6+, JWT (optional) Persistence JPA/Hibernate, MySQL/PostgreSQL Documentation Swagger/OpenAPI Testing JUnit, Mockito πŸ“¦ Project Structure FilesharingManagementApplication/ β”œβ”€β”€ src/ β”‚ β”œβ”€β”€ main/ β”‚ β”‚ β”œβ”€β”€ java/com/filesharing/ β”‚ β”‚ β”‚ β”œβ”€β”€ controller/ β”‚ β”‚ β”‚ β”œβ”€β”€ service/ β”‚ β”‚ β”‚ β”œβ”€β”€ model/ β”‚ β”‚ β”‚ β”œβ”€β”€ repository/ β”‚ β”‚ β”‚ └── config/ β”‚ β”‚ └── resources/ β”‚ β”‚ β”œβ”€β”€ static/style/assets/.css β”‚ β”‚ └── template/.html β”‚ └── application.properties β”œβ”€β”€ pom.xml └── README.md πŸ§ͺ Getting Started 1️⃣ Clone the Repository git clone https://github.com/vikash-collab/FilesharingManagementApplication.git cd FilesharingManagementApplication 10/6/25, 1:27 PM Microsoft Copilot: Your AI companion https://copilot.microsoft.com/pages/CdTjXo91A6bNF8mBaCEGJ 1/3 2️⃣ Configure the Database Update application.properties : spring.datasource.url=jdbc:mysql://localhost:3306/filesharingdb spring.datasource.username=root spring.datasource.password=yourpassword 3️⃣ Build & Run mvn clean install mvn spring-boot:run 4️⃣Access Swagger UI http://localhost:8080/swagger-ui/index.html πŸ“šAPI Endpoints Method Endpoint Description POST /api/files/upload Upload a file GET /api/files/{id} Download file by ID GET /api/files/user/{id} List user’s files DELETE /api/files/{id} Delete file πŸ” Security 🚧 Future Enhancements 🀝 Contributing Pull requests are welcome! For major changes, please open an issue first to discuss what you'd like to improve. In-memory or JDBC-based authentication Role-based access: ROLE_USER , ROLE_ADMIN Optional JWT integration for stateless sessions βœ…JWT-based authentication πŸ“ˆ File usage analytics πŸ“¬ Email notifications on file share 🧾 Versioning and rollback 10/6/25, 1:27 PM Microsoft Copilot: Your AI companion https://copilot.microsoft.com/pages/CdTjXo91A6bNF8mBaCEGJ 2/3 πŸ“„ License This project is licensed under the MIT License.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published