Featured

Complete Go Web Development Course - Golang Tutorial For Beginners



Published
This course is for you if you are looking for the latest Golang project or how to build golang microservices. The tutorial provides the foundation for Go web development. Watch as I build a Hacker News Clone with comment system in Go

⭐️You Will Learn⭐️
- How to do authentication in Go
- Working with Sessions & Cookies in Go
- Working with templates in Go (Jet template engine)
- How to use a database as session storage in Go
- Database access in Go using upper/DB
- Routing & Middleware in Go
- How to use loggers
- Golang dependency injection
- How to process forms in Golang
- How to validate forms in Golang

You have access to the complete course code in the repository. https://github.com/joefazee/hnews

⭐️Here is a list of all the libraries used in this tutorial. ⭐️

https://github.com/go-chi/chi - Routing
https://github.com/alexedwards/scs - Session management
https://github.com/CloudyKit/jet - Template engine
https://github.com/golang-module/carbon - Data manipulation in Go
https://upper.io/v4/ - Data access layer for Go
https://github.com/justinas/nosurf - CSRFToken

⭐️ Course Contents ⭐️
⌨️ (0:00:00) Demo of what we are building!
⌨️ (0:01:46) Project setup
⌨️ (0:05:25) Adding Chi Router
⌨️ (0:14:23) Add & Configure Jet Template Engine
⌨️ (0:16:48) Add TemplateData & Render function
⌨️ (0:23:25) Session
⌨️ (0:30:04) Database Connection & Configure Upper/DB
⌨️ (0:40:33) Static Assets
⌨️ (0:43:10) Models & SQL Queries
⌨️ (1:42:20) Explaining Our Views
⌨️ (1:43:52) The Home Handler
⌨️ (1:58:12) The Comment Handler & Model
⌨️ (2:14:24) Authentication, Middleware & Forms
⌨️ (2:48:43) The Vote Handler
⌨️ (2:53:30) The Submit Handler
⌨️ (3:03:49) The Submit Comment Handler
⌨️ (3:14:37) Add CSRF Protection
⌨️ (3:19:11) Closing
Category
Web design
Be the first to comment