Golang backend application that uses JWT tokens for users
- Setup your .env file, for example follow .env.example
- To add all dependencies for a package in your module
go get .
in the current directory
go run main.go
orgo build main.go
and run./main
- The application should be available and running on localhost:8000
- Docker build
docker build . -t server
- Docker Run
docker run -p 8000:8000 -it server