App for practice Rest and WS with golang, using libraries as:
- jwt
- mux
- websocket
- pq
- cors
- crypto
- ksuid
- Install Docker Engine ๐ฅ
- Go to database folder and run
docker build . -t go-rest-ws-db
- Then run =>
docker run -p 54321:54321 go-rest-ws-db up
- Go to root and execute
go mod download
- Execute
go run main.go
- App
- Go to root and run
docker build . -t go-rest-ws-app
- Then run =>
docker run -p 5050:5050 go-rest-ws-app up
- App