SkillAgentSearch skills...

Snippetbox

Full-Stack Go - code from the "Let's Go" e-book

Install / Use

/learn @cullenjett/Snippetbox
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

Full-stack Go

This is the final code from version 1 of the Let's Go e-book by Alex Edwards. It's a full-stack Go web application called "Snippetbox" that lets users CRUD text snippets (similar to GitHub gists).

<img width="500" src="./lets-go-screenshot.png" />

Features

  • Authentication. Users can register and sign in.
  • Protected endpoints. Only signed-in users can create snippets.
  • RESTful routing.
  • Middleware.
  • MySQL database.
  • SSL/TLS web server using HTTP 2.0.
  • Generated HTML via Golang templates.
  • CRSF protection.

Development

go run cmd/web/*

Starts the local web server with HTTPS on port 4000 (https://localhost:4000)

Related Skills

View on GitHub
GitHub Stars12
CategoryDevelopment
Updated10mo ago
Forks3

Languages

Go

Security Score

67/100

Audited on Jun 1, 2025

No findings