https://github.com/le0developer/go-reader-file-server
https://github.com/le0developer/go-reader-file-server
Last synced: 5 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/le0developer/go-reader-file-server
- Owner: Le0Developer
- Created: 2024-02-08T14:54:47.000Z (about 2 years ago)
- Default Branch: master
- Last Pushed: 2024-12-16T16:08:22.000Z (about 1 year ago)
- Last Synced: 2024-12-16T16:43:07.259Z (about 1 year ago)
- Language: Go
- Size: 15.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# reader-file-server
This is a file server for a (private) reader application.
It allows you to read all files and also write to some of them.
## Why?
This is a backend implementation for a private book reader application.
## Environment Variables
- `ROOT`: The root directory of the file server. Default: `.`
- `CORS_ORIGINS`: The origins that are allowed to access the file server. Default: `*`
- `ACCESS_TOKEN`: The access token that is required to write to the file server.
### Access Token
Access token must be set using the `authorization` header with the `Token` auth scheme.