Free & Open Source

FiloraFS-Lite – Spring Boot File Upload Starter with Local Storage

Lightweight Spring Boot file upload starter with REST APIs for uploading, downloading, and managing files using local storage. Built for MVPs and backend projects.

Spring Boot · File Upload · REST API · Local Storage · Production-ready

See It in Action

Example REST APIs for file upload, file access, and file management built using Spring Boot.

Spring Boot file upload API example

What You Get

FiloraFS-Lite is a lightweight Spring Boot file upload starter that provides ready-to-use REST APIs for file upload, download, and file management using local storage.

  • File upload and download REST APIs ready to use
  • List and delete file endpoints with clean responses
  • Local file storage setup for quick development
  • Minimal and readable project structure
  • Spring Boot configuration ready to run
  • Easy to extend for cloud storage or advanced features

Use Cases

MVP Projects

Quickly add file upload functionality in Spring Boot applications without complex setup.

Learning Projects

Understand how file upload and storage works in Spring Boot with a simple structure.

Internal Tools

Build admin tools or utilities that require file upload and management APIs.

Backend Starters

Use as a base to build more advanced file storage systems with authentication and cloud storage.

Without vs With FiloraFS-Lite

Without FiloraFS-Lite

  • Manual file upload and download implementation
  • Handling file storage, paths, and edge cases yourself
  • Repeated boilerplate across multiple projects
  • Inconsistent or messy API structure
  • Time lost before building actual features

With FiloraFS-Lite

  • File APIs ready out of the box
  • Clean and predictable file handling structure
  • Reusable starter for multiple projects
  • Consistent REST API design
  • Start building features immediately

Key Features

File Upload and Download APIs

Upload and retrieve files using simple REST endpoints.

File Listing and Management

List, access, and delete files with clean API responses.

Local Storage Setup

Uses filesystem-based storage for quick setup and testing.

Minimal Project Structure

Clean and readable codebase that is easy to understand and extend.

Ready Spring Boot Configuration

Pre-configured setup so you can run the project without extra setup.

Easy to Extend

Add authentication, cloud storage, or advanced workflows easily.

Project Structure

Spring Boot file server project structure

API layer

Controllers handle file upload, download, and management endpoints.

Service layer

Core file handling logic separated for clarity and reuse.

Modular structure

Simple and clean layout that is easy to extend as features grow.

Quick Start

1. Clone the repository

Clone FiloraFS-Lite from GitHub and open it in your IDE.

2. Configure storage

Set file upload directory and server port in application.properties.

3. Run the application

Start the Spring Boot application and expose the file APIs.

4. Start using APIs

Use upload, download, list, and delete endpoints to manage files.

API Endpoints

Simple REST APIs for file upload, download, and file management built using Spring Boot.

File Upload

POST /file

Upload a file to the server.

File Access

GET /file/{fileName}

Download or stream a file by name.

File Management

GET /file/list

Retrieve a list of all uploaded files.

DELETE /file/{fileName}

Delete a file from the server.

Includes a ready-to-use Postman collection for testing all endpoints.

When to upgrade to FiloraFS-Pro

FiloraFS-Lite is designed for local storage and simple use cases. If your project needs authentication, cloud storage, or production-grade file handling, you will likely outgrow this setup.

  • Projects that require secure file access
  • Applications using cloud storage like S3
  • Systems handling large or scalable file workloads

In those cases, FiloraFS-Pro provides a more complete and production-ready foundation.

Explore FiloraFS-Pro →

Related Guides

Start building your Spring Boot file upload system

FiloraFS-Lite gives you ready-to-use file APIs with a clean Spring Boot setup. Set up in minutes and start building real features instead of file handling logic.

Free and open source