Snippetbox
Full-Stack Go - code from the "Let's Go" e-book
Install / Use
/learn @cullenjett/SnippetboxREADME
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
node-connect
352.2kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
111.1kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
352.2kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
352.2kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
