guestbook

command module
v0.0.0-...-6d7f666 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 22, 2020 License: MIT Imports: 10 Imported by: 0

README

Guestbook

An implementation of a guestbook app with Go and MySQL

Setup

This project depends on the following dependencies:

$ go get github.com/gorilla/mux
$ go get github.com/go-sql-driver/mysql

Then run the initial database schema:

$ mysql < init.sql

Lastly, set the environment variables for database connection:

$ export DB_USER=root
$ export DB_PASSWORD=yourpasswordhere
$ go run app.go
2020/03/21 23:44:46 Serving static assets at /static
2020/03/21 23:44:46 Starting server at port 3000

License

Released under MIT

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL