Skip to content

not-clickbait/snippetbox

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Snippetbox

A pet project for learning Go based off Let's Go - Alex Edwards book.

Features

TBD

Setup

Locally

For now, the DSN is hardcoded to be web:web@/snippetbox?parseTime=true, a MySQL with user web and password web is expected.

To spin up the http server, run go run ./cmd/web from the root directory.

Open http://localhost:4000 in a browser to get started with Snippetbox.

Self-signed TLS Generation

Locate GO standard library location /usr/local/go/src/crypto/tls (non Homebrew)

Run generate_cert.go inside the /tls folder

go run /usr/local/go/src/crypto/tls/generate_cert.go --rsa-bits=2048 --host=localhost

About

A pet project written in golang based on Let's Go by Alex Edwards

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published