Skip to content

An implementation of a guestbook app with Go and MySQL

License

Notifications You must be signed in to change notification settings

alchermd/guestbook

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

An implementation of a guestbook app with Go and MySQL

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published