https://github.com/property404/upload-server
Upload service to share private files between my family and friends
https://github.com/property404/upload-server
Last synced: 4 months ago
JSON representation
Upload service to share private files between my family and friends
- Host: GitHub
- URL: https://github.com/property404/upload-server
- Owner: Property404
- Created: 2019-10-29T00:55:47.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2024-12-10T13:37:46.000Z (7 months ago)
- Last Synced: 2025-02-02T11:41:37.428Z (5 months ago)
- Language: Vue
- Homepage: https://upload.dagans.dev
- Size: 2.28 MB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Upload Server
Multi-user upload service, including backend and frontend components.
Requires Nginx or another reverse proxy.## Features
* Upload, view, and delete files
* Administrative and vanilla user types
* Non-admin users can only index their own uploaded files
* Secret URL generation
* Dark and light themes## Backend Setup
Upon running the app for the first time, you will be prompted to create an
admin account.```
$ npm install
...
$ node app.js
Username> admin
Password> ********
$ node app.js [port] # or use `forever node app.js [port]`
Launching on port [port]
```Frontend setup instructions are located in the frontend directory
## Nginx Example Setup
Assuming port 1234
```
server{
server_name ..;listen 443;
listen [::]:443;include some_misc_configuration.conf;
client_max_body_size 128M;
root /absolute/path/to/dist;
# Serve upload API
location /api{
proxy_pass http://localhost:1234/;
}
# Serve uploaded files
location /file{
proxy_pass http://localhost:1234;
}
}
```## License
MIT