Course Information
Course Overview
Build a reusable Go module and command line application that makes building a web application simple, fast and secure.
Laravel is one of the most popular web web application frameworks in the PHP world, and with good reason. It's easy to use, well designed, and lets developers work on their applications without worrying about re-inventing the wheel every time they start a project. Go, often referred to as Golang, is one of the most popular programming languages in the world, and has been used to create systems at Netflix, American Express, and many other well known companies. It's extremely fast, type safe, and designed from the ground up to be used on the web.
This course is all about taking some of the most useful features found in Laravel, and implement similar functionality in Go. Since Go is compiled and type safe, web applications written in this language are typically much, much faster, and far less error prone that a similar application written in Laravel/PHP.
The key features we'll work on in this course include:
Implementing an Object Relation Mapper (ORM) that is database agnostic, and offers much of the functionality found in Laravel's Eloquent ORM.
A fully functional Database Migration system
Building a fully featured user authentication system that can be installed with a single command, which includes:
A password reset system
Session based authentication (for web based applications)
Token based authentication (for APIs and systems built with front ends like React and Vue)
A fully featured templating system (using both Go templates and Jet templates)
A complete caching system that supports Redis and Badger
Easy session management, with cookie, database (MySQL and Postgres), Redis stores
Simple response types for HTML, XML, JSON, and file downloads
Form validation
JSON validation
A complete mailing system which supports SMTP servers, and third party APIs including MailGun, SparkPost, and SendGrid
A command line application which allows for easy generation of emails, handlers, database models
Finally, the command line application will allow us to create a ready-to-go web application by tying a single command: celeritas new <myproject>
The only requirements for this course are:
A basic understanding of Go
A basic understanding of SQL databases
A Windows, Mac, or Linux computer
An internet connection
Docker
Visual Studio Code (or the IDE of your choice)
Please note that this course requires you to download Docker Desktop from Docker. If you are a Udemy Business user, please check with your employer before downloading software.
Course Content
- 10 section(s)
- 129 lecture(s)
- Section 1 Introduction
- Section 2 Getting Started with the Celeritas Module
- Section 3 Rendering Pages
- Section 4 Testing
- Section 5 Sessions
- Section 6 Installing MariaDB, Postgres, and Redis using Docker
- Section 7 Adding support for Postgres to Celeritas
- Section 8 Testing Models
- Section 9 Starting work on the Celeritas Command Line application
- Section 10 Validation
What You’ll Learn
- How to build a reusable package in Go
- How to integrate multiple database types into a Go application
- How to build a complete User authentication system (web and API) in Go
- How to build a caching system using Go and Redis
- How to implement a caching system using Go and BadgerDB
- How to build a command line tool that writes code for you
- How to automate database migrations in Go
- How to integrate multiple template rendering engines into a single application
- How to write unit tests in Go
- How to write integration tests in Go
Skills covered in this course
Reviews
-
RRobert Goodall
Excellent course!
-
FFouche du Preez
Really nice course. Hats off to Trevor - you rock!
-
JJorge Sader
As someone relatively new to Go, I found Trevor Sawler’s "Let's Build a Go Version of Laravel" amazing! His casual style hides serious value—he clearly lives and breathes Go. This course killed my crutch of overthinking app-building, letting me spin up projects fast and focus on business logic, not boilerplate. It took me a month of hard work, but by week one, I’d already grabbed part two. I’m hooked and will keep buying his courses!
-
BBrad Amor
Purchased this course a while back and honestly I don't know why I left it this long to do it. Great course, learned a lot. I also need to go back through the course and deep dive into the new material I learned. Overall, I recommend and I can see myself building this out and using it as a starter for all of my projects.