Skip to content

bapturp/snippetbox

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Snippetbox

Web application written in go, from the fantastic book Let's Go, by Alex Edwards.

Development

I use air to live reload the app:

go install github.com/air-verse/air@latest

To run air from the CLI, add the $GOPATH/bin to the $PATH. On zsh, edit the file~/.zshrc and tweak the PATH variable like so:

export PATH=$HOME/go/bin:$PATH

Run air to start the app:

air

💡 The app itself runs on port 8080, but air proxy it to http://localhost:8008 allowing to reload the browser after a new build.

About

No description or website provided.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published