Go for Real World Applications
Learn to write Go from building a real app!
Go is a powerful backend language that is an asset to any developer's toolkit. It is extremely performant, a relatively easy language in terms of syntax, and has many valuable features like testing and JSON serialization and deserialization built in. In this practical, hands-on, step-by-step style book, we'll build a fully functioning Go application from complete scratch along these steps:
- Scaffolding the Go application and writing main.go
- Writing cron jobs in Go
- Writing a powerful generic HTTP function
- Using that HTTP function to call an API and serialize the response into Go object's using Go
- Use that HTTP function to POST messages to a Slack channel
- Write tests using Go's built in testing module
- Dockerize the application so that it can be run with docker compose
- Round off the book by crafting a complete CI/CD pipeline that first builds and tests our application, then Dockerizes and uploads the application to Docker Hub
- We'll see that once the Circle CI pipeline is setup, we can control the entire pipeline process through pushing to a git branch alone, and never have to manually do any sort of configuration or commands for our deploys
By the end of the book, you will have the confidence and know how to build Go applications from start to finish - including testing, Dockerizing, and deploying them!
Full Stack SaaS Product Cookbook
From Soup 🍜 to Nuts 🥜 - Create a Profitable SaaS Product as a Solo Developer in Days!
In the Full Stack SaaS Product Cookbook, you'll learn with step-by-step tutorials how to do the following:
- Frontend: how to build an amazing Gatsby site using TypeScript and React with Bootstrap styling, and use Netlify as your frontend CI / CD framework.
- Backend: how to use Netlify Identity and FaunaDB for user data storage and your own .NET 5.0 API running on an Ubuntu 20.04 Digital Ocean Droplet with PostgreSQL 13 for anything more advanced that you may need, and use BitBucket Pipelines as your backend CI / CD framework.
- How to use Slack and logz.io for monitoring and logging, respectively.
- How to use Mailjet for custom emails and email templates.
- How to implement Stripe, Gumroad, and PayPal as your main payment providers.
- How to run automation jobs on the backend.
Sound like overkill? Good, because this isn't a get rich quick scheme. These full stack SaaS products take an enormous amount of work to develop and deploy. My book will show you every step along the way, with plenty of real working code snippets and recipes for anything you may need during the development process.
In the end, you'll be able to build your own completely working full stack SaaS app, from a fancy UI, to a custom API and lambda (AWS) functions, user authentication and authorization, with notifications, logging, emails, and more, at a total cost of $5 / month for the Digital Ocean server droplet. It's then up to you to market your product to make it profitable. (Or think of it this way: you'll need only 1 monthly $5 / month subscriber to break even on your per-month costs!)
The full stack process you'll learn from my book is identical to the process I used on products like The Wheel Screener and The P+Rail Parking Forecast. I'm more than happy to share the process with you, for FREE, or however much you'd like to donate.
I've also created a GitHub Organization for the book and corresponding code bases. This organization will include the book source itself (LaTeX) as I write it, as well as what I am calling 'milestone' repositories that are linked to landmark development points throughout book. I invite you to star the book repository and join me on this SaaS product journey!