FiloraFS-Pro
A production-ready file storage backend with JWT authentication and S3 support.
Introduction
FiloraFS-Pro is a developer-friendly Spring Boot boilerplate designed for building secure and scalable file storage systems. It includes JWT authentication, file upload/download APIs, automatic thumbnail generation, and support for both AWS S3 and local storage.
Instead of building complex file infrastructure from scratch, FiloraFS-Pro provides a production-ready backend foundation for your next SaaS or content platform.
Who is this for?
- • SaaS builders and indie hackers
- • Backend developers using Spring Boot
- • Content Platforms & Media Apps
- • Developers Tired of Rebuilding File Systems
Why Choose FiloraFS-Pro for File Storage?
Save Development Time
Skip weeks of infrastructure setup. FiloraFS-Pro provides a complete file storage API immediately.
Production-Ready Foundation
Security, validation, storage fallback, and optimized API endpoints are already implemented.
Spring Boot Best Practices
Built with clean architecture, structured codebase, and consistent error handling for developers.
Fully Featured Backend
Includes JWT authentication, file management APIs, thumbnails, and S3 integration.
Why not build it from scratch?
Without FiloraFS-Pro
- ❌ Days or weeks of setup
- ❌ Complex file handling logic
- ❌ S3 integration challenges
- ❌ Security & validation risks
- ❌ Repeated effort across projects
With FiloraFS-Pro
- ✅ Ready in minutes
- ✅ Clean, structured backend
- ✅ Built-in S3 + local storage
- ✅ Secure authentication & access control
- ✅ Production-ready foundation
Key Features
-
JWT Authentication
Secure login, registration, and role-based authorization for file access.
-
File Upload & Download APIs
Efficiently upload, retrieve, and stream files through REST endpoints.
-
Automatic Thumbnail Generation
Built-in support for generating image previews automatically.
-
S3 + Local Storage Support
Flexible storage options with AWS S3 integration and local fallback.
-
File Management Tools
List files, retrieve metadata, delete files, and generate pre-signed URLs.
-
Postman Collection
Includes a pre-configured collection to test all APIs instantly.
Project Structure
src/main/java/com/filorafs/
├── config/ # App configurations
├── controller/ # REST API endpoints
├── dto/ # Data Transfer Objects
├── entity/ # Database models
├── exception/ # Global error handling
├── repository/ # Database access
├── security/ # JWT & Auth logic
├── service/ # Business logic
└── util/ # Helper classes
Quick Start
Download the FiloraFS-Pro starter kit from Gumroad.
Extract the ZIP file to your local development environment.
Open the project in your IDE (IntelliJ, Eclipse, or VS Code).
Configure DB, JWT and Storage in application.properties.
Run as spring boot app.
API Reference
FiloraFS-Pro provides a complete REST API for authentication, user management, and file operations. Below are the available endpoints.
/api/auth/login
Authenticate user and receive access & refresh tokens.
/api/auth/register
Register a new user account.
/api/auth/refresh
Generate a new access token using refresh token.
/api/auth/logout
Logout user and invalidate refresh token.
/api/users/me
Get current authenticated user details.
/api/users/profile
Get user profile information.
/api/users/all
Admin
Retrieve all users (admin only).
/api/users/admin-only
Admin
Admin-restricted endpoint.
/api/users/restricted
Restricted access endpoint for authorized users.
/file
Upload file (multipart form-data). Returns unique file ID/name.
/file/{id}
Fetch and stream file.
/file/stream/{id}
Stream file for media usage.
/file/download/{id}
Download file with proper headers.
/file/{id}
Delete file permanently.
/file/list
List all stored files.
/file/info/{id}
Get file metadata (size, type, timestamps).
/file/generate-pre-signed-url
Generate temporary access URL with expiration.
/file/thumbnail/{id}
Retrieve file thumbnail.
Includes a ready-to-use Postman collection for testing all endpoints.
Ready to Launch Your Storage SaaS?
Get the full FiloraFS-Pro source code and start building your production-grade file management system today.