This is an example of CRUD web application writen in pure Golang. It makes use of Postgres as database.
- Install PostgreSQL on your system. You can skip this step if already installed.
- Clone this repository.
- Execute the
info.sql
file into your PostgreSQL client. This will import sample database and tables that will be used for this example. - Modify
main.go
file, line 12. You must configure the PostgreSQL database connection. - Run
go build
to build the executable file. - Run/execute the generated program via terminal/command line.
- Open your web browser, and navigate to
http://localhost:8080
.