Categorygithub.com/TempFileLink/TempFileLink-BE
modulepackage
0.0.0-20241210115145-755bc5a51245
Repository: https://github.com/tempfilelink/tempfilelink-be.git
Documentation: pkg.go.dev

# README

TempFile.Link Backend

Commands

Development

  1. Install the dependecise:
go mod download
  1. Run the server:
go run main.go

or

go install github.com/air-verse/air@latest
air

Production

Linux

  1. Build the application
go build -o server main.go
  1. Run the application
./server

Windows

  1. Build the application
go build -o server.exe main.go
  1. Run the application
.\server.exe

Docker

  1. Build the image
docker build -t tempfile . 
  1. Run the image
docker run --name tempfile -p 3001:3001 --env-file .env -e DB_HOST=host.docker.internal tempfile

# Packages

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author