AJ-Kulundu / simple-go-server

A simple Golang server that has three endpoints.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Simple Golang server 📡

A simple server wriiten in Golang. The server uses the net/http package

Getting Started

Run the following command in your terminal after cloning the project

go run main.go

Go to localhost:8080 to test the enpoints

Endpoints

  • / : Renders the index.html file

  • /hello : Renders a hello message to the browser

  • /form.html : Renders the form.html file and and carries out the form action

TODO

  • Make html files
  • Create file server
  • Create endpoints

About

A simple Golang server that has three endpoints.


Languages

Language:Go 64.6%Language:HTML 35.4%