https://github.com/lukadevv/drop-storage
A lightweight nest storage server with fastify
https://github.com/lukadevv/drop-storage
backend drop files nestjs storage upload
Last synced: 11 days ago
JSON representation
A lightweight nest storage server with fastify
- Host: GitHub
- URL: https://github.com/lukadevv/drop-storage
- Owner: lukadevv
- License: mit
- Created: 2024-04-26T05:53:18.000Z (about 2 years ago)
- Default Branch: master
- Last Pushed: 2026-03-25T22:40:00.000Z (3 months ago)
- Last Synced: 2026-03-26T21:25:33.131Z (3 months ago)
- Topics: backend, drop, files, nestjs, storage, upload
- Language: TypeScript
- Homepage:
- Size: 479 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## About
A nestjs fastify server for creating a file storage.
## How to use
This server doesn't require any configuration, just adding the output "PORT" and
"AUTH_TOKEN"
## Upload
Use upload endpoint inside "file" controller:
### Example:
URL: `http://localhost:{PORT}/file/upload`
METHOD: POST
HEADERS:
- Content-Type: multipart/form-data
Multipart (parameters):
"files": ...files
## Delete
If you want to delete/remove a file from storage, you can use "delete" endpoint inside "file" controller.
Example:
`http://localhost:{PORT}/file/delete/storage/files/0c7c373041c6e211560bc1078e943ce8.png`
Ignore "volumes" path, this is just internal