Skip to content

Goal of this project is to create service for file sharing between users.

Notifications You must be signed in to change notification settings

shylendramadda/spring-boot-maven-share-file

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

spring-boot-maven-share-file

Goal of this project is to create service for file sharing (Upload, download, share) between users.

Dependencies Used:

  • Spring Boot 2.3.1
  • Java 1.8
  • JPA
  • Maven
  • Restfull
  • Lombok
  • MapStruct 1.3.1.Final
  • ModelMapper 2.3.0
  • H2 Database
  • Spring security (Basic Auth)
  • SpringDocOpenApi (Swagger) 1.2.32

Endpoint Exposed Endpoints:

  • POST /api/register (Register User)
  • GET /api/file (Get all files)
  • POST /api/file/upload (Upload a file)
  • GET /api//file/{id} (Get file by Id)
  • POST /api/file/share (Share a file)

To check API's using Swagger2 use this URL

To check tables and data saved in H2 Database use this URL

To make it work change the following lines in the application.properties file

  • file.upload-path=D:/Shylendra/FileStorage
  • spring.datasource.url=jdbc:h2:file:D:/Shylendra/FileStorage

About

Goal of this project is to create service for file sharing between users.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published