This is a simple file server that allows you to upload files to the server.
You can upload files to the server and then get download links to them.
Notes:
- If you using heroku, After heroku restarts all files will be deleted!
- You can't be a dev by copy and pasting others codes!
Deploy to Heroku
Deploy to VPS
Steps:
- Install go in your server.
- Clone repo.
git clone https://github.com/AnjanaMadu/FileServer && cd FileServer
- Install libs.
go mod tidy
- Build app.
go build
- Grant premissions.
chmod +x FileServer
- Run app.
./FileServer