- 11
- 145 799
Div Rhino
Приєднався 9 сер 2020
Learn development by building projects with Div Rhino.
Passkey Authentication with Expressjs and Docker | Tutorial
In this tutorial, we will learn more about the Web Authentication API by building an app that implements passkey authentication. At the end of the tutorial, we will have a little Express.js app connected to a Postgres database , through Sequelize, in Docker container.
📎 Text tutorials
- divrhino.com - divrhino.com/articles/passkeys-express
- dev.to - dev.to/divrhino/create-a-passkey-authenticated-app-with-expressjs-sequelize-and-docker-3dg
- Code repo - github.com/divrhino/divrhino-passkeys-express
🦏 Other great tutorials
- ua-cam.com/video/9QsFj4_1UAw/v-deo.html
- ua-cam.com/video/p08c0-99SyU/v-deo.html
⌛ Timestamps
00:00 - Introduction
00:16 - Prerequisites
00:49 - Expected end result
01:04 - Getting started
04:57 - Configure Sequelize
06:33 - Set up Postgres
10:19 - Routes and controllers
11:55 - Frontend views
16:37 - Public key credentials
18:06 - Configure Passport.js
25:17 - Sessions
27:42 - Passkeys overview
28:50 - Phase 1: attestation/registration
38:50 - Logout
39:35 - Phase 2: assertion/login
46:25 - Recap
📎 Text tutorials
- divrhino.com - divrhino.com/articles/passkeys-express
- dev.to - dev.to/divrhino/create-a-passkey-authenticated-app-with-expressjs-sequelize-and-docker-3dg
- Code repo - github.com/divrhino/divrhino-passkeys-express
🦏 Other great tutorials
- ua-cam.com/video/9QsFj4_1UAw/v-deo.html
- ua-cam.com/video/p08c0-99SyU/v-deo.html
⌛ Timestamps
00:00 - Introduction
00:16 - Prerequisites
00:49 - Expected end result
01:04 - Getting started
04:57 - Configure Sequelize
06:33 - Set up Postgres
10:19 - Routes and controllers
11:55 - Frontend views
16:37 - Public key credentials
18:06 - Configure Passport.js
25:17 - Sessions
27:42 - Passkeys overview
28:50 - Phase 1: attestation/registration
38:50 - Logout
39:35 - Phase 2: assertion/login
46:25 - Recap
Переглядів: 779
Відео
Golang CRUD app with Go Fiber, Docker, and Postgres | Tutorial
Переглядів 6 тис.Рік тому
In this tutorial, we’re going to add CRUD actions to a Go Fiber app. We will also use JavaScript's fetch API to make PATCH and DELETE requests. 📎 Text tutorials - divrhino.com - divrhino.com/articles/crud-go-fiber-docker-postgres - dev.to - dev.to/divrhino/create-a-crud-app-with-go-fiber-docker-and-postgres-47e3 - Code repo - github.com/divrhino/divrhino-trivia-crud 🦏 Other great tutorials - Bu...
Golang fullstack app with Go Fiber, Docker, and Postgres | Tutorial
Переглядів 5 тис.Рік тому
In this tutorial, we’re going to convert a REST API into a fullstack Go Fiber app by adding some frontend views. 📎 Text tutorials - divrhino.com - divrhino.com/articles/full-stack-go-fiber-with-docker-postgres - dev.to - dev.to/divrhino/build-a-fullstack-app-with-go-fiber-docker-and-postgres-1jg6 - Code repo - github.com/divrhino/divrhino-trivia-fullstack 🦏 Other great tutorials - Build a REST ...
Golang REST API from scratch with Go Fiber, Docker & Postgres | Tutorial
Переглядів 38 тис.2 роки тому
In this tutorial, we will learn how to create a simple trivia REST API from scratch, using Go and Docker. At the end of the tutorial, we will have a little Go Fiber app connected to a Postgres database. 📎 Text tutorials - divrhino.com - divrhino.com/articles/rest-api-docker-go-fiber-from-scratch - dev.to - dev.to/divrhino/build-a-rest-api-from-scratch-with-go-and-docker-3o54 - Code repo - githu...
Interactive git rebase - introduction | Git tutorial
Переглядів 1,4 тис.2 роки тому
This tutorial is a gentle, yet practical, guide into the world of interactive git rebase. We will learn about the most common rebase actions and their different use cases. 📎 Text tutorials - divrhino.com - divrhino.com/articles/gentle-introduction-interactive-git-rebase/ - dev.to - dev.to/divrhino/a-gentle-introduction-to-interactive-git-rebase-85c 🦏 Other great tutorials -How to build an inter...
Golang interactive CLI app with Cobra and Promptui | Tutorial
Переглядів 17 тис.3 роки тому
In this fun and easy video, learn how to build an interactive CLI app with Go, Cobra and promptui. See how we can prompt users for input and save the input to an SQLite database. If you find this video to be helpful, please consider liking it. Also subscribe if you'd like to see more of this type of content. 📎 Text tutorial and repo link - Text tutorial - divrhino.com/articles/build-interactive...
Golang PDF tool with Go, Maroto & GoFakeIt | Tutorial
Переглядів 12 тис.3 роки тому
Learn how to create PDF documents with this quick and interesting Go tutorial. Use the Maroto package to layout a PDF and the GoFakeIt package to build a simple random data generator. If you find this video helpful, please like it, and subscribe if you'd like to see more of this type of content. 📎 Text tutorial and repo link - Text tutorial - divrhino.com/articles/create-pdf-document-with-go-ma...
Golang CLI flags with Cobra | Tutorial
Переглядів 7 тис.3 роки тому
In this quick and easy tutorial, learn how to add and use a flag to modify the behaviour of a command in a CLI tool build with Go and the Cobra package. If you found this video helpful, please consider liking it. Also subscribe if you'd like to see more of this type of content. 📎 Text tutorial and repo link - Text tutorial - divrhino.com/articles/add-flags-to-command-line-tool-go-cobra/ - Code ...
Golang Cobra CLI tool | Tutorial
Переглядів 37 тис.3 роки тому
Learn how to build a command-line tool Go and the Cobra package in this quick and easy tutorial. If you found this video helpful, please consider liking it. Also subscribe if you'd like to see more of this type of content. 📎 Text tutorial and repo link - Text tutorial - divrhino.com/articles/build-command-line-tool-go-cobra/ - Code repo - github.com/divrhino/dadjoke ⌛ Timestamps 00:00 - Intro a...
Golang web scraper with Colly | Tutorial
Переглядів 16 тис.4 роки тому
Learn how to build a web scraper using Go and the colly package in this quick and easy tutorial. If you found this video helpful, please consider liking it. Also subscribe if you'd like to see more of this type of content. Text tutorial: divrhino.com/articles/build-webscraper-with-go-and-colly/ Code repo: github.com/divrhino/rhino-scraper ⌛ Timestamps 00:00 - Intro and project description 00:26...
Hugo and TailwindCSS | Tutorial
Переглядів 6 тис.4 роки тому
Learn how to add TailwindCSS to a Hugo project in this quick and easy tutorial. If you found this video helpful, please consider liking it. Also subscribe if you'd like to see more of this type of content. Text tutorial: divrhino.com/articles/add-tailwindcss-to-hugo/ Code repo: github.com/divrhino/hugotails ⌛ Timestamps 00:00 - Project intro and description 00:26 - Creating new Hugo project 00:...
Hi, it is not compiling the css styles; they are not getting rendered. I followed your article as well as video to the "T", but no success! Is there something i am missing here? I know its 3 years now...
great tutorial thanks madam rhino 😭
Thank you for watching! I’m glad your found it helpful
cool
Thank you! ✨
cool
Thank you!
very nice content
Thank you for the comment! Appreciate it ✨
Not just containers but little bit of orchestration too We got PostGres to work with some SQL as wellGreat to get things started as a fresher Thank u so much Div Rhino ,am a happy subscriber
What a nice comment! Thank you for being here. 🙏✨
Nice
Thanks for your support, @sarathtvmala!
Excellent! This is how the teaching should be, i.e Project based learning. Thank you so much!
Thank you so much! I appreciate you being here, your comment is very kind. ✨🙏
one of the great videos I have ever seen
What a nice thing to say! Thanks for watching, I appreciate your kind words ✨🙏
@@DivRhino keep up the good work expecting more videos 😄😄
good content
Thank you so much for watching! I appreciate the comment 🙏
Okay, that's a good one. Absolutely informative and concise.
Glad you enjoyed it! Thanks for taking the time to leave a kind comment 🙏✨
This is an amazing tutorial but I have a question. I'd like to change run command with an environment variable in docker-compose.yml is that possible?
Thanks for your question! There are some suggestions in this StackOverflow thread: stackoverflow.com/questions/40447029/docker-compose-environment-variable-for-command
These are all super-helpful, TY. If I may ask for a future topic consideration, a Cobra app that grows into needing Configuration Management (Viper). I can't imagine the simple Dadjoke needing Viper, but pretending it did (or any POC app using Cobra, to which then Viper gets added).
Or if anyone has seen of a tutorial where an app is refactored to start using Viper, that would cover my question. Cheers everyone/anyone.
Thanks for the suggestion!
This is really good, TY. Can I also say the artwork is funny and well-done? :-P
Aw, thank you! I appreciate your kind words 🙏
Your videos are awesome. Please do more videos for us )
Thank you! I will try 🙏
can i create a pdf including a barcode using this package?
I’ve taken a look at the code in version 2 and they do have a barcode constant available. github.com/johnfercher/maroto/tree/master/pkg/consts/barcode
I can't connect to the db, := failed to connect to `host=localhost user=postgres database=`: dial error (dial tcp [::1]:5432: connect: cannot assig432: connect: cannot assign requested address), i created a new one, but doesnt worth...
Hi thanxs for your video but i get an error from PostCSS on start hugo server. "No utility classes were detected in your source files. If this is unexpected, double-check the `content` option in your Tailwind CSS configuration." I need help to run the the Page correctly 😞
Nice tutorial!
Thank you for watching! 🙏
You are amazing, Thanks you!
And you’re amazing! Thanks for watching 🙏
My love! Thank you for the clearest explanation. OMG this is the best!
Thank you so much for your lovely comment! I appreciate you watching 🙌✨
Awesome tutorials thanks ! Can you please share your extensions on vs code?
this is great
Thank you for watching! 🙏
Great intro to Cobra!
Thanks for watching! 🙌✨
If you are following this on Windows, add this to your .air.toml file for live reload with air: lines 11-12: poll = true poll_interval = 500
Explained concepts so well! Keep it up!
Thank you for the encouragement! ✨❤️
Very clear and precise instructions, also the flow is perfectly paced. Please make more content like this. I just subscribed.
Thanks for stopping by and taking the time to leave a comment! I appreciate it! ✨
Amazing tutorial! Thank you for your time & efforts! Btw, your cover pages for videos are beautiful, love the way you design your videos!
Thank you for leaving such a kind and encouraging comment! I appreciate you being here ✨✨
When I initialize node the package.json does not appear in my vscode file explorer, but i can see it in my Docker container.
Sorry that you're having trouble. You should be able to copy that file from your container into your host. First run "docker ps" to get the container id value. Then run "docker cp CONTAINER_ID:/app/package.json .", replacing the CONTAINER_ID with the id you get from the previous step. So for instance, if the container id was 123456, then your command would be "docker cp 123456:/app/package.json ."
From fcc❤
Love that! Thanks for stopping by ✨🙏
golang-nextjs
OK
This is such a wonderful tutorial, and I really appreciate the project-based approach 🤩 Thank you for taking the time to make it + for honoring the time of everyone who watches it!
This is such a nice comment! Thank you for watching and taking the time to leave it ✨🙏
Thanks mam
And thank you for watching! 🙏
Well explained and to BS content!
Thanks for taking the time to leave a comment! Glad to have you here ✨🙏
Quality and timely content! Thank you Div for the effort with this tutorial.
Thank you for all your support! ✨❤️🙏
Create a series on social media golang apis ( basic features ) if possible or any fullstack mobile app
OK
Any update?
This is truly excellent, nobody is doing this in this way in just 20 or so minutes.. great work hope to see more in the future :)
Thank you for the kind words! Glad to have you here ✨
Watching this video makes so much sense to me after making a demo project in fiber
That’s great to hear! This is the last video in a 3-part series, so I hope had fun watching ✨
Hi, your work is quite wonderful. You are doing amazing work. I (from India) expect more such content from you. Thank you, thank you so much.
Thank you for your support!
Th quality of your videos are outstanding 💯😃👍
Thank you for your kind comment! Glad to have you here ✨
Very well made tutorial, thank you! It has helped me a lot!
I’m so glad to hear that! Thank you for your comment ✨🙏
thanks you Div Rhino
And thank you, Thien Tran!
Excellent!
Thank you for being here! ✨
use a larger font. i need my eyes
Okay
I am stumped - following along, once I get to the adding the AIR portion to my project: running the docker compose command works, but then when running the docker compose up command - it fails: divrhino-trivia docker compose up [+] Building 0.0s (0/0) docker:desktop-linux [+] Running 1/1 ✔ Container divrhino-trivia-web-1 Recreated 0.4s Attaching to divrhino-trivia-web-1 divrhino-trivia-web-1 | divrhino-trivia-web-1 | __ _ ___ divrhino-trivia-web-1 | / /\ | | | |_) divrhino-trivia-web-1 | /_/--\ |_| |_| \_ v1.49.0, built with Go go1.19 divrhino-trivia-web-1 | divrhino-trivia-web-1 | watching . divrhino-trivia-web-1 | watching cmd divrhino-trivia-web-1 | !exclude tmp divrhino-trivia-web-1 | building... divrhino-trivia-web-1 | no Go files in /Users/me/workspace/go/divrhino-trivia divrhino-trivia-web-1 | failed to build, error: exit status 1 divrhino-trivia-web-1 | running... divrhino-trivia-web-1 | /bin/sh: 1: /Users/me/workspace/go/divrhino-trivia/tmp/main: not found What am I missing? Can anyone help?
In case anyone else is having the issue where Air is not reloading on a Windows machine, inside the .air.toml file you must set " poll=true " for the changes to be picked up in real time. Great video though!
Thank you for leaving this comment! I’m sure others will find it very useful 🙏✨
Bro your comment saved my life thanks alot
Legend!
@brad4au57 thanks, but how did you find it ??
how worck withot GORM?????
If you don’t want to use an ORM like GORM, you can write SQL.
This tutorial is scary good!! Thank you!
Thank you for your scary nice comment! Glad you enjoyed it ✨✨
Wonderful video, full of explanations and excellent support on their website for this channel. I look forward to new tutorials on Golang for web development. Thank you for your work. Greetings from Spain.😃
Thank you for your lovely comment all the way from Spain! ✨🇪🇸
Your videos are excelent, please complete these series with jwt auth with access and refresh token
Thank you for the comment and suggestion 🙏✨