##File-Server
git clone https://github.com/imvinaypatil/file-browser.git
mvn clean compile install
install maven dependenciesmvn spring-boot:run
will start the application server on port 8080.
- MongoDB Server running on default port.
- Maven Build tool
list files
- POST: url: localhost:8080/files/user/list path: '/root'
get raw file
- GET: url: localhost:8080/files/user/filename.txt/raw
upload file
- POST: url: localhost:8080/files/user/upload RequestPart: 'file' 'path': '/root' delete file
- DELETE: url: localhost:8080/files/user/delete/[fileid]
create directory
- POST url: localhost:8080/files/user/create/directory name: 'dir' path: '/root'
- file doesn't get copied to local storage
References https://spring.io/guides https://docs.spring.io/spring-boot/docs/current-SNAPSHOT/reference/htmlsingle/