Skip to content

Learning Go by building Snippetbox from Let's Go by Alex Edwards—covering routing, templates, auth, DB, and testing.

Notifications You must be signed in to change notification settings

lil-bee/snippetbox

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Snippetbox Web App

A introduction project to learn Go by following the Let's Go book by Alex Edwards. This repository contains the implementation of the Snippetbox web application, exploring foundational and advanced concepts of web development in Go.

Features

  • Routing and Middleware
  • HTML Template Rendering
  • Authentication and Authorization
  • Database Integration with MySQL
  • Input Validation
  • Testing (unit and integration tests)

Prerequisites

  • Go 1.20+
  • MySQL

Project Structure

  • cmd/web - Entry point for the application
  • internal/models - Database models
  • internal/validator - Input validation logic
  • ui - Static assets and templates

Resources

This project is based on the book Let's Go by Alex Edwards. It is highly recommended for those learning web development with Go.

License

This repository is for educational purposes only. Please refer to the book for full implementations and rights.

Acknowledgements

  • Alex Edwards for the Let's Go book

About

Learning Go by building Snippetbox from Let's Go by Alex Edwards—covering routing, templates, auth, DB, and testing.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published