https://github.com/unmade/shelf-front
Shelf App Frontend - self-hosted file storage
https://github.com/unmade/shelf-front
headlessui react redux redux-toolkit rtk-query tailwindcss vite
Last synced: about 1 month ago
JSON representation
Shelf App Frontend - self-hosted file storage
- Host: GitHub
- URL: https://github.com/unmade/shelf-front
- Owner: unmade
- License: agpl-3.0
- Created: 2021-01-03T12:18:02.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2024-03-15T21:18:07.000Z (about 1 year ago)
- Last Synced: 2025-04-12T05:44:31.536Z (about 1 month ago)
- Topics: headlessui, react, redux, redux-toolkit, rtk-query, tailwindcss, vite
- Language: JavaScript
- Homepage: https://getshelf.cloud
- Size: 1.84 MB
- Stars: 25
- Watchers: 1
- Forks: 0
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Shelf App
This is frontend for a shelf project - a self-hosted file storage.


## Demo
[https://app.getshelf.cloud](https://app.getshelf.cloud)
## Development
Install dependencies:
```bash
yarn install
```Run development server:
```bash
yarn start
```To generate translation file:
```bash
yarn makelocales
```### Building a Docker image
Normally, a docker image is built in CI whenever there is a new tag.
To build a docker image locally:
```bash
docker build . -t shelf_front:0.1.0 --build-arg api_base_url=http://backend_hostname
```Sometimes you don't know your backend url in advance. In this case,
it is better to omit the `api_base_url` arg and build a docker image as is.
Then, you could provide the `API_BASE_URL` env variablie when running docker:```bash
docker run --rm -p "8080:80" -e "API_BASE_URL=http://example.com" shelf-front:0.1.0
```