- Видео 27
- Просмотров 461 166
Tiago
Португалия
Добавлен 19 июн 2023
Creating to the point software engineering content.
How Im doing Authentication with Go and NextJS for my SaaS Startup
In this video I share some lessons on and how I'm handling auth in Go and NextJS using magic links and open source third party providers for my SaaS app.
I go over the advantages and drawbacks of each approach.
► How I'm building the backend: ruclips.net/video/h3fqD6IprIA/видео.html
Thanks for watching 💪
🙋🏼♂️ Socials:
X: x.com/TiagoFe01662401
Github: github.com/sikozonpc
Discord: discord.com/invite/3JhkwjQHjc
Time Stamps 👇
00:00:00 Explanation
00:01:26 Magic links flow
00:06:21 Code overview
00:07:53 Third party providers
00:09:52 Solution
00:11:42 Auth demo
00:15:00 Lessons Learn
I go over the advantages and drawbacks of each approach.
► How I'm building the backend: ruclips.net/video/h3fqD6IprIA/видео.html
Thanks for watching 💪
🙋🏼♂️ Socials:
X: x.com/TiagoFe01662401
Github: github.com/sikozonpc
Discord: discord.com/invite/3JhkwjQHjc
Time Stamps 👇
00:00:00 Explanation
00:01:26 Magic links flow
00:06:21 Code overview
00:07:53 Third party providers
00:09:52 Solution
00:11:42 Auth demo
00:15:00 Lessons Learn
Просмотров: 3 993
Видео
How Caching your Go API Helps Improve Performance
Просмотров 3,6 тыс.Месяц назад
► Checkout the full project being made here: ruclips.net/video/h3fqD6IprIA/видео.html In this video I show you how caching you Golang API handlers can help you boost performance to handle a higher load of traffic, making you API more production ready. 📗 Resources - Source code: github.com/sikozonpc/GopherSocial - Full course: ruclips.net/video/h3fqD6IprIA/видео.html 🙋🏼♂️ Socials: X: x.com/tiag...
Complete Backend Engineering Course in Go
Просмотров 69 тыс.2 месяца назад
► Join to get access to all of my courses and the community: selfmadeengineer.com In this project-based course we'll build a complete REST API in Go from scratch and ship it to the cloud ready for receiving real traffic and handle scale affordably. This journey will start from building a simple TCP server with the goal of exploring the net/http package in Go. The goal with this material is that...
How to Prevent Concurrent Race Conditions in Go
Просмотров 3 тыс.4 месяца назад
In this video I'm sharing with you how I'm solving my data race problem in my Golang API using Optimistic Concurrency Control. 📗 Article: cult.honeypot.io/reads/optimistic-vs-pessimistic-concurrency/ 👉 Get access to the full guides: selfmadeengineer.com 📢 We're building a Discord community, come and join discord.com/invite/3JhkwjQHjc 🙋🏼♂️ Socials: X: x.com/tiago_taquelim_ Github: github.com/si...
How I RATE LIMIT my Production API in Golang
Просмотров 6 тыс.6 месяцев назад
In this video I share with you how I am rate limiting my API in Go. Rate limiters are a must if you want to protect your back-end from layer 7 DDoS attacks and keep your API secure. 📌 Resources - Very good article on rate limiting algorithms: konghq.com/blog/engineering/how-to-design-a-scalable-rate-limiting-algorithm - Go Fixed Window: github.com/mennanov/limiters - Go "official" rate limit pa...
How I Would Deploy My Golang SaaS App (CI/CD & Tests)
Просмотров 7 тыс.6 месяцев назад
So in this video I'll show you how I'm currently deploying my SaSS app similar to Readwise in Golang, with GCP and Github Actions, so you can do it too. 📢 We're building a Discord community, come and join discord.com/invite/3JhkwjQHjc 👉 Join the private community to level up as software engineer: selfmadeengineer.com 🙋🏼♂️ Socials: X: x.com/tiago_taquelim_ Github: github.com/sikozonpc 00:00:00 ...
The Complete Microservices Course in Go
Просмотров 76 тыс.6 месяцев назад
► Join & Access the full course: selfmadeengineer.com In this course instead of flipping burgers you'll build an Order Management System with microservices in Go. This journey will start from a simple service from which we'll build & scale out up to 5 different microservices communicating & working together to finalise the users order ...and we're going to build all of this from scratch... 🎉 Th...
Working with RabbitMQ in Golang for an Event-Driven Architecture
Просмотров 6 тыс.7 месяцев назад
► Join & Access the full Microservices course: selfmadeengineer.com In this video we'll explore from a high overview what are message brokers and how they work. We're also exploring how a message broker like RabbitMQ makes your microservices more reliable. Resources: Docs: www.rabbitmq.com/tutorials/tutorial-three-go Installation: www.rabbitmq.com/docs/download 📢 We're building a Discord commun...
How to Properly Integrate with External Services in Golang
Просмотров 4,1 тыс.7 месяцев назад
Every software system integrates with other 3rd party systems in a way or another. And the way that you integrate with them is really important for the health of your system. So in this video I share some examples on how to do it using the Adaptor Pattern and dependency injection in Golang. 👉 Join the private community to level up as software engineer: selfmadeengineer.com 📢 We're building a Di...
All You Need to Know to Structure your Golang Projects
Просмотров 10 тыс.7 месяцев назад
Either you are new to SWE or just starting to build your first projects in Go and you don’t know which project architecture or structure to use. You’ve heard about these terms: Clean Architecture, Hexagonal Architecture and DDD. And all sounds confusing. If that sounds like you, then this video is for you I’ll help you clarify everything. 👉 Join the private community to level up as software eng...
Complete Golang and gRPC Microservices (Project Course)
Просмотров 26 тыс.7 месяцев назад
Learn how to build scalable micro-services in Golang with gRPC by building a practical real-world production project (order management system). By the end you should be able to develop your micro-service projects by your own. 👉 Join the private community to level up as software engineer: selfmadeengineer.com 📢 We're building a Discord community, come and join discord.com/invite/3JhkwjQHjc ✅ Che...
How the Golang Context Package Works
Просмотров 7 тыс.7 месяцев назад
When it comes to building resilient production software in Go you should be familiar with the context package. You don’t need to know everything tho…so I’m going to teach you what you should know to get started and be then be able to read and build more complex applications. Because you probably seen that most advanced frameworks use context. 👉 Join the private community to level up as software...
How to EFFICIENTLY Handle Errors in Golang APIs
Просмотров 7 тыс.7 месяцев назад
► Join the private community to level up as software engineer: selfmadeengineer.com In this video will show how you can handle errors in your Golang APIs while being pragmatic and as practical as possible, so you can focus in what really matters: building stuff. 👉 Join the private community to level up as software engineer: selfmadeengineer.com 📢 We're building a Discord community, come and joi...
Practical Explanation of Golang INTERFACES
Просмотров 8 тыс.8 месяцев назад
In this video I'll give you a practical explanation with real-world examples of how to use interfaces in Go, so you can become a better engineer and make your code more modular and testable. ✅ Check the "Complete Backend API in Golang" Course: ruclips.net/video/7VLmLOiQ3ck/видео.html 👉 Join the private community to level up as software engineer: selfmadeengineer.com 📢 We're building a Discord c...
How to create your Golang APIs from now on with v1.22
Просмотров 29 тыс.8 месяцев назад
Since Go 1.22 released you can now build your API services with just the net/http package, without the need for any external packages likes gorilla/mux, fiber or chi. So in this video I’ll show you how I’m going to be building my APIs from now on with go 1.22. 💻 Check the "Complete Backend API in Golang" Course: ruclips.net/video/7VLmLOiQ3ck/видео.html 👉 Join the private community to level up a...
A trick for safely using Golang Maps more efficiently
Просмотров 5 тыс.8 месяцев назад
A trick for safely using Golang Maps more efficiently
Complete Backend API in Golang (JWT, MySQL & Tests)
Просмотров 124 тыс.8 месяцев назад
Complete Backend API in Golang (JWT, MySQL & Tests)
Authenticating your APIs in Golang (HTMX project)
Просмотров 11 тыс.8 месяцев назад
Authenticating your APIs in Golang (HTMX project)
Building Full Stack Golang + HTMX + Templ APP
Просмотров 19 тыс.9 месяцев назад
Building Full Stack Golang HTMX Templ APP
Advanced Golang: Goroutines & Channels
Просмотров 8 тыс.9 месяцев назад
Advanced Golang: Goroutines & Channels
Building a Chat with WebSockets and HTMX in Golang
Просмотров 12 тыс.9 месяцев назад
Building a Chat with WebSockets and HTMX in Golang
How to Send Emails in Golang (SendGrid)
Просмотров 2 тыс.9 месяцев назад
How to Send Emails in Golang (SendGrid)
Deploying a NodeJS App to Google Cloud (with CI/CD)
Просмотров 847Год назад
Deploying a NodeJS App to Google Cloud (with CI/CD)
Build and Deploy a Full Stack Newsletter App: Complete Node.js and React Tutorial
Просмотров 2,4 тыс.Год назад
Build and Deploy a Full Stack Newsletter App: Complete Node.js and React Tutorial
How do you plan to host the NextJS app?
Tiago, I greatly appreciate it. Learn a lot. Please keep uploading such long video. For now, I can't afford your course. However, I will soon.
Thank you I will!
Olá Tiago tudo blz mano, cara sou analista Linux e quero migrar para devops, e quero aprender Go. Esse seu curso seria para iniciante? seria o meu primeiro contato com a linguagem.
Olá Allison, Este curso requer conhecimento basico de Go (o das docs oficiais é suficiente). Fora isso o curso é focado em desenvolvimento de API webs.
@@TiagoTaquelim Obrigado pela atenção
can we implement kafka based service
nice and clear
I find it very wrong that you call yourself an engineer when you haven't studied and do not have a degree. In my country that is actually a crime and you can serve time for title fraud, or misrepresentation of credentials. It takes 6 whole years to become an engineer (or almost any other degree) in my country and that's only if you pass every exam in one try and don't suffer any other delays. But even if you studied somewhere else and it only took you 5 years or 4 years, it's still a huge effort. So it's not ok to claim you're something you're not. Call yourself a dev, a programmer o some other thing that doesn't involve misrepresenting yourself.
WOW AND THAT ALL IS FROM VANILLA GO!
Just watched a video from a dev of DoorDash talking about how microservices add complexy and scalability issues for short-term satisfaction. Basically, the future of the app will suffer. What is your stance on microservices today? If the app scales then you'll take the time to rewrite/migrate to a more native, flexible solution and do away with the microservice that causes barriers to growth?
Ye I think I remember that talk. Imo, the microservices complexity is well known, there are definite use-cases for it were it shines as well where it doesn't. As with everything is swe it's all about measuring cons and pros for the problem and business. Regarding the rewrite as it scales: I think that is the way to go. Especially if your team grows and is split into multiple domains, each service/domain could be a team. This comes with it's own problems, but at the end of the day the business grows.
@@TiagoTaquelim Thanks. I'm finishing up a Nextjs Prisma app that was super simple with basic backend knowledge. I'm learning Go as I know I'll most likely want to make improvements if my apps gain traction, though I'm concerned about the migration process. Having said that, with the help of CursorAI and if I use the same DB, it doesn't sound too problematic and may be a lot faster than setting up a full backend using Go and minimal microservices. Interesting and exciting times for 'fullstack' dev.
Love it, thanks, keen to see more Next+Go.
Is there a proper tutorial for direnv? I've been trying to download it but I'm confused on the guidance. I've been searching for tutorials but nothing has been helpful. I'm on Windows.
On windows I would recommend installing WSL.
I waiting for video about typesafe api like grapgql or trpc for Go
Excellent .
I started learning go a week ago and am so glad I found your channel this early into my learning journey (:
Thank you so much! Happy learning!
there are people launching courses who find authentication difficult.
I hope you finish this project quickly. 😅 I have been looking for a project with such content for a long time.I think it will have the kind of content that many people are looking for. Nice work Tiago…
Thank you! I wanna push an MVP out by the end of this year and I'll be creating a waitlist soon on Discord.
Have you looked at other open-source IDP solutions like Authentik or Zitadel?
I haven't
funny you made a vid on this, I failed twice recently in trying to integrate a full google OAuth from scratch without using any libs outside of stdlib. Would be nice to see a frontend(react svelte or non htmx) and Go backend OAuth integration of the grant flow (secure) and returning JWT whilst storing refresh tokens in users Db. This is an advanced topic that I haven't seen anywhere yet, might make for a good vid. It is a lot of back and forth calls from frontend to google to frontend to backend to google to backend to frontend and more- it is much simpler than it sounds and is very useful for enterprise as it prioritises security and best practices when it comes to Auth.
Ye indeed. For me when it comes to connecting to to those social logins I like to use packages already made since most of the work is pretty much that and they usually provide some sort of UI I can just use.
I think it would be a great idea if we can build some sort of boilerplate using go and nextjs that can be used to build any sort of app.
Ye, basically what I did to start this project was I got the templated used from the GopherSocial project in the BE engineering course in one folder and did a fresh nextjs isntall in another using shadcn.
Hey Tiago, Can we build backend in go without any framework? Do you prefer to use any framework for go?
I like to build without any framework in Go.
hey, are you planning to create some nextjs and golang video on how combine these two things. or its already there in your selfmadeengineer community
Hey! Actually I was thinking of doing a video on that still this month, I've been getting that question a lot. Do you have anything in particular u would like to see?
Hey Tiago, interested in contributing to your product.
Thank you! Will be posting news soon.
Did I miss anything, you just typed email and used otp via mail to logged in? Without password, you will have to repeat same otp flow if user tries to logging in?
Yes. I set a password in that flow btw
Hi Tiago. Thank you for this amazing tutorial -- Was wondering if you can do one up with Gin?
Can you make a search engine example for hotels etc in golang
Hey tiago i have watched quite a few of your videos and i find them really helpful. I saw your video on microservice and then decided to build a project using microservice architecture. It was an ecommerce application now i am stuck at distributed transaction. It would really great if u can cover this topic (2PC, SAGA, eventual consistency and stuff) .
Heyhey! Thanks! I spoke about the saga pattern on the backend engineering course. But it's a good idea for a video tho!
Great content, thank you.
This - and all the other videos I've seen so far - is blasting content. Concise to the point.. I learned more about ctx - w/ usable code examples - in 12min than in hours wasted in other places. Thank you so much - subscribed.
Thank you! 🙏
I have seen the whole course of you on Udemy, soon will buy, thanks.
This course required any js related stuff because. I have no idea of js
Hey, great content. You haven't linked the rest api best design principles link
hello, when is it coming to udemy?
Amazing course, just a little reminder is that IP itself isn't a transport protocol, thus should be compared to UDP, which is the unreliable transport protocol that usually also runs on top of IP.
Many thanks from India , please release full course on RUclips!
This tutorial was fantastic, so much to learn in a relatively short time! Thank you!
Thank you!
You deserved it +1 sub 🎉
Tiago I have completed the course deployed on Railway very grateful to you SQL part was so good everything was well structured thanks for releasing it on Udemy.
Thank you so much! I'm glad you liked it!
trying to get a JR backend Go dev position if possible haha. would be a dream
You'll get it! 💪
Does anybody has this whole course for free? please help
please upload the whole 17hrs playlist bro please