Web application for my golang course.
- Clone this repository
- Download and install MySQL (You can skip this step if already installed).
- Create database with tables from
pkg/models/sql/librarydb.sql
- Configure config.env with your db and mail data (like an config.env.example)
- Run
go build ./cmd/web
to build the executable file. - Run/execute generated program via ide or terminal
go run ./cmd/web
- Open your web browser, and navigate to
127.0.0.1:8000