In root folder:
$ go run ./cmd/web
Using docker image of MYSQL MariaDB;
- installation
- connect to docker by terminal
[ ] find and run a container in host[ ] conectar ao banco no docker- connect to a local db
- import and use alice package for middleware chaining
- use http router
- use form validator go-playground
- use session manager scs
- use https (generating a TLS certificate)
$ go run <path_to_go_library>/crypto/tls/generate_cert.go --rsa-bits=2048 --host=localhost