Skip to content

gyenoch/Go-Web-App-Deployment-with-Github-Actions-ArgoCD

Repository files navigation

Go Web Application

This is a simple website written in Golang. It uses the net/http package to serve HTTP requests.

Build the application

To build the application, execute the command below:

go build -o main

Running the server

To run the server, execute the following command:

go run main.go

Use Docker to Build, Run and Push the image to DockerHub

docker build -t gyenoch/go-web-app:v1 .
docker run -p 8080:8080 gyenoch/go-web-app:v1
docker push gyenoch/go-web-app:v1

The server will start on port 8080. You can access it by navigating to http://localhost:8080/courses in your web browser.

Looks like this

Website

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published