Let's Make a Notes App with Go, VueJS, Postgres | Live Coding
Live Stream #0: Let's make a notes application using Go, VueJs, Postgres, Docker, and Kubernetes. In this session, we will get setup and start on the backend. We will be using GitLab to host the code so we can use the kanban board for creating tickets and issues!
This will be a multipart stream, so tune in again I go live again to pick up where we leave off!
In this video we will learn about Go Packages and Modules. We will learn about the DRY principle and reusable code and that go functions and packages help us stay DRY. We will learn how importing packages work and how we can pull in third party libraries outside of our Go Path using modules. We will use go mod init and go mod tidy for our package dependencies.
All code found in this video will be at:
? https://github.com/NerdCademyDev/golang
? Let me know if you have any issues!
⚡️ What else would you like me to cover?
? Always Keep Learning!
I have been thinking about making the switch from Docker to Podman for some time now. I finally switched after installing Fedora 36 on a partition, since it was installed already. (Maybe not, but it was a quick install without any quirks, so it was ready to go.)
So from this point on, any Docker content will actually be Podman content.
If you wanna support my channel, you can buy me a coffee:
☕️ https://www.buymeacoffee.com/nerdcademy
Coffee make the code go!!!
? Programming Laptop
https://kit.co/nerdcademy/framework-laptop
? My Video Kit
https://kit.co/nerdcademy/my-video-kit
? Video Editing PC
https://kit.co/nerdcademy/m1-mac-mini-setup
#nerdcademy #podman #docker
...
https://www.youtube.com/watch?v=PX3z_iJ6cjc
In this video we will learn the basics of compiling Go to run in the web with WebAssembly. In this tutorial we will cover how to get your Go code to be compiled and targeted to WASM. So get ready for the basics of WASM with GoLang in this introduction to WebAssembly!
All code found in this video will be at:
? https://github.com/NerdCademyDev/golang
? Let me know if you have any issues!
⚡️ What else would you like me to cover?
? Always Keep Learning!
Maybe when your just starting to learn containers, that you might not know you can use the same volume between containers.
In fact you can. It's an important part of software development to share data between parts of your software.
Today we will use Podman, but this works the same in Docker.
If you wanna support my channel, you can buy me a coffee:
☕️ https://www.buymeacoffee.com/nerdcademy
Coffee make the code go!!!
? Programming Laptop
https://kit.co/nerdcademy/framework-laptop
? My Video Kit
https://kit.co/nerdcademy/my-video-kit
? Video Editing PC
https://kit.co/nerdcademy/m1-mac-mini-setup
...
https://www.youtube.com/watch?v=0ZUaFFsjkfs
So Go version 1.18 is dropping soon, so in this video we will look at how we can use Generics in Go. We will learn how to download and use the Go 1.18 Beta binary along side your already installed Go.
We will also look at the new keyword "any" that can be used in generics and as an argument type in functions.
What do you thing of Generics? Are you looking forward to using them? Or do you not have any real use cases for them? I probably wont use them that much at all.. but the new any keyword will be useful.
You can get the latest version of the Go 1.18 beta here:
https://golang.org/dl/go1.18beta2
If you wanna support my channel, you can buy me a coffee:
☕️ https://www.buymeacoffee.com/nerdcademy
Coffee make the code go!!!
All code found in this video will be at:
? https://github.com/NerdCademyDev/golang
? Let me know if you have any issues!
⚡️ What else would you like me to cover?
? Always Keep Learning!
? Gopher Character artwork from:
https://github.com/MariaLetta/free-gophers-pack
#nerdcademy #golang #generics
...
https://www.youtube.com/watch?v=sVCQFV5P7_g
In this video tutorial, we will take a look at Colly, a Go web scraping library, and learn a little bit about web scraping.
Web site used to scrape:
http://toscrape.com
If you wanna support my channel, you can buy me a coffee:
☕️ https://www.buymeacoffee.com/nerdcademy
Coffee make the code go!!!
? Programming Laptop
https://kit.co/nerdcademy/framework-laptop
? My Video Kit
https://kit.co/nerdcademy/my-video-kit
? Video Editing PC
https://kit.co/nerdcademy/m1-mac-mini-setup
? Gopher Character artwork from:
https://github.com/MariaLetta/free-gophers-pack
...
https://www.youtube.com/watch?v=FkbB-vJxS8o
This video is about getting your own code running in a Docker Container. This is a tutorial for those who are still beginners with Docker. I will show you how to build an image using a Dockerfile, then run that container. In my example, we will be using a very simple Hello World using Go.
Let me know if you have any issues!
What else would you like me to cover?
Until next time...
Go on the Pi sounds pretty tasty--so let's make something somewhat interesting. ?
Let's make a simple web server to turn on and off a led light!
We will first set up our wiring: just a basic led light with a resistor, using pin 7 from the GPIO.
Next we will test it out using the command line utility that can be found at:
https://github.com/WiringPi/WiringPi
My Raspberry Pi Distro:
https://archlinuxarm.org/platforms/armv8/broadcom/raspberry-pi-4
Once that is working we will set up our web server using Go and then attach a couple endpoints to turn on and off the light!
⚡️ Links:
The Raspberry Pi 2B (of course it's a bit out dated and overly priced)
https://amzn.to/3MKpVaa
LED Lights ?
https://amzn.to/39lEWli
Raspberry Pi Jumper Cables ?
https://amzn.to/3aWuXU2
Breadboard ?
https://amzn.to/3NFcnOC
Decent Kit with Everything to get Started ?:
https://amzn.to/3xk6XSo
(These links are affiliate links--so I make a tiny bit of money if you use them and buy something. Don't worry; it doesn't cost anything extra!! So it is a way you could support this channel.)
If you wanna support my channel, you can buy me a coffee:
☕️ https://www.buymeacoffee.com/nerdcademy
Coffee make the code go!!!
? Everything I use to record my vids ⚡️
https://kit.co/nerdcademy/my-video-kit
All code found in this video will be at:
? https://github.com/NerdCademyDev/golang
#golang #nerdcademy #raspberrypi
...
https://www.youtube.com/watch?v=36CTJ_FIiKI
In this video tutorial we will basically make bitly with go: a URL shortener, but you can have it on your own server!
We will be using Fiber, PostgreSQL, GORM, and Docker for our backend and Svelte to make a simple UI.
We will walk through creating the backend model using GORM, which is an object relation mapper that will handle our our SQL queries with our DB running in docker.
Next we will get our server running with Fiber running a simple REST API and we will create our simple UI with Svelte to consume that REST API!
⚡️ Links to the tools used in this video:
Fiber:
https://gofiber.io/
GORM:
https://gorm.io/
PostgreSQL Docker Image:
https://hub.docker.com/_/postgres
Svelte:
https://svelte.dev/
Svelte Template:
https://github.com/sveltejs/template
Svelte Modals:
https://svelte-modals.mattjennings.io/
If you wanna support my channel, you can buy me a coffee:
☕️ https://www.buymeacoffee.com/nerdcademy
Coffee make the code go!!!
All code found in this video will be at:
? https://github.com/NerdCademyDev/goly
? Let me know if you have any issues!
⚡️ What else would you like me to cover?
? Always Keep Learning!
00:00 Intro
00:36 Coding the Model
12:25 Coding the Server
25:58 Coding the UI
#golang #nerdcademy #urlshortener
...
https://www.youtube.com/watch?v=bTLQT7W12dQ