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.
TODO
- 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
TODO: write section with additions over what is presented over the book (if any). Possible ideas:
- login with some OAuth2.1 server (maybe Google or AAC).
- routing using Go 1.22 could also be an idea.
- 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
- email verification
This section is reserved for some notes over things that are observed in the book (if any)