An open API service indexing awesome lists of open source software.

https://github.com/a7ryan/golang-static-webserver

golang webserver serve html file
https://github.com/a7ryan/golang-static-webserver

docker dockerhub golang golang-static-webserver golang-webserver http-server webserver

Last synced: 5 months ago
JSON representation

golang webserver serve html file

Awesome Lists containing this project

README

          

# golang-static-webserver

## Created Simple Webserver on Golang
### The Webserver will serve basic HTML content
### Also added Dockerfile in case to host on Render
### GitHub Actions to directly push image to DockerHub

---

## Final Website Output
![Website Demo](https://github.com/A7ryan/golang-static-webserver/blob/main/images/img.png)

---

### Want to run it locally??
- `git clone https://github.com/A7ryan/golang-static-webserver.git`

- `cd code`

- `go mod tidy`
#### if needed run: `go mod init `

- `go run main.go`

- Open in Browser: `http://localhost:8080`