Skip to content

This project contains the code that realize the web application Snippetbox as described in the book Let's Go by Alex Edwards

License

Notifications You must be signed in to change notification settings

Zicchio/LG-Snippetbox

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LG-Snippetbox

This project contains the code that realize the web application Snippetbox as described in the book Let's Go by Alex Edwards. Snippetbox is a web app that let's users share snippets of text, like Pastebin.

Usage

TODO

Current Progress

  • Chapter 1: Introduction
  • Chapter 2: Foundations
  • Chapter 3: Configuration and Error Handling
  • Chapter 4: Database-Driven Responses
  • Chapter 5: Dynamic HTML Templates
  • Chapter 6: Middleware
  • Chapter 7: RESTful Routing
  • Chapter 8: Processing Forms
  • Chapter 9: Stateful HTTP
  • Chapter 10: Security Improvements
  • Chapter 11: User Authentication
  • Chapter 12: Using Request Context
  • Chapter 13: Testing
  • Excercises (1 to 6)
    • Ex 1: add an about page
    • Ex 2: TestCreateSnippetForm Handler
    • Ex 3: Add a UserProfile Page to the application
    • Ex 4: Implement a Change Password feature
    • Ex 5: Redirect User after login
    • Ex 6: Add a debug Mode

Further Improvements

TODO: write section with additions over what is presented over the book (if any). Possible ideas:

  1. login with some OAuth2.1 server (maybe Google or AAC).
  2. routing using Go 1.22 could also be an idea.
  3. admin page or roles for notes managements (edit, delete and update)
    • might already be covered by the bool, update this note if needed
    • roles might also be covered by Let'd Go Further but that's ok
  4. email verification

Implementation Notes

This section is reserved for some notes over things that are observed in the book (if any)

About

This project contains the code that realize the web application Snippetbox as described in the book Let's Go by Alex Edwards

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages