Div Rhino
Div Rhino
  • 11
  • 145 799
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
Переглядів: 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:...

КОМЕНТАРІ

  • @askeijaz
    @askeijaz 12 днів тому

    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...

  • @wahyujus
    @wahyujus Місяць тому

    great tutorial thanks madam rhino 😭

    • @DivRhino
      @DivRhino 24 дні тому

      Thank you for watching! I’m glad your found it helpful

  • @navjotsingh2457
    @navjotsingh2457 Місяць тому

    cool

  • @navjotsingh2457
    @navjotsingh2457 Місяць тому

    cool

  • @navjotsingh2457
    @navjotsingh2457 Місяць тому

    very nice content

    • @DivRhino
      @DivRhino 24 дні тому

      Thank you for the comment! Appreciate it ✨

  • @yogeshdharya3857
    @yogeshdharya3857 2 місяці тому

    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

    • @DivRhino
      @DivRhino 2 місяці тому

      What a nice comment! Thank you for being here. 🙏✨

  • @srttkx
    @srttkx 2 місяці тому

    Nice

    • @DivRhino
      @DivRhino 2 місяці тому

      Thanks for your support, @sarathtvmala!

  • @TheMouseJerry-du1md
    @TheMouseJerry-du1md 3 місяці тому

    Excellent! This is how the teaching should be, i.e Project based learning. Thank you so much!

    • @DivRhino
      @DivRhino 3 місяці тому

      Thank you so much! I appreciate you being here, your comment is very kind. ✨🙏

  • @prasanthbupd
    @prasanthbupd 3 місяці тому

    one of the great videos I have ever seen

    • @DivRhino
      @DivRhino 3 місяці тому

      What a nice thing to say! Thanks for watching, I appreciate your kind words ✨🙏

    • @prasanthbupd
      @prasanthbupd 2 місяці тому

      @@DivRhino keep up the good work expecting more videos 😄😄

  • @SuyashPurwar-q4p
    @SuyashPurwar-q4p 3 місяці тому

    good content

    • @DivRhino
      @DivRhino 3 місяці тому

      Thank you so much for watching! I appreciate the comment 🙏

  • @tobiadeniji6630
    @tobiadeniji6630 3 місяці тому

    Okay, that's a good one. Absolutely informative and concise.

    • @DivRhino
      @DivRhino 3 місяці тому

      Glad you enjoyed it! Thanks for taking the time to leave a kind comment 🙏✨

  • @alp6742
    @alp6742 3 місяці тому

    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?

    • @DivRhino
      @DivRhino 3 місяці тому

      Thanks for your question! There are some suggestions in this StackOverflow thread: stackoverflow.com/questions/40447029/docker-compose-environment-variable-for-command

  • @thisisreallyme3130
    @thisisreallyme3130 3 місяці тому

    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).

    • @thisisreallyme3130
      @thisisreallyme3130 3 місяці тому

      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.

    • @DivRhino
      @DivRhino 3 місяці тому

      Thanks for the suggestion!

  • @thisisreallyme3130
    @thisisreallyme3130 4 місяці тому

    This is really good, TY. Can I also say the artwork is funny and well-done? :-P

    • @DivRhino
      @DivRhino 4 місяці тому

      Aw, thank you! I appreciate your kind words 🙏

  • @SalemAlemPro
    @SalemAlemPro 4 місяці тому

    Your videos are awesome. Please do more videos for us )

    • @DivRhino
      @DivRhino 4 місяці тому

      Thank you! I will try 🙏

  • @NurAamTaniaRahmat
    @NurAamTaniaRahmat 4 місяці тому

    can i create a pdf including a barcode using this package?

    • @DivRhino
      @DivRhino 3 місяці тому

      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

  • @ingedison1
    @ingedison1 4 місяці тому

    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...

  • @tschinkes
    @tschinkes 5 місяців тому

    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 😞

  • @vincentdelitz4604
    @vincentdelitz4604 5 місяців тому

    Nice tutorial!

    • @DivRhino
      @DivRhino 5 місяців тому

      Thank you for watching! 🙏

  • @mmadictos5356
    @mmadictos5356 6 місяців тому

    You are amazing, Thanks you!

    • @DivRhino
      @DivRhino 6 місяців тому

      And you’re amazing! Thanks for watching 🙏

  • @34556ndmd
    @34556ndmd 6 місяців тому

    My love! Thank you for the clearest explanation. OMG this is the best!

    • @DivRhino
      @DivRhino 6 місяців тому

      Thank you so much for your lovely comment! I appreciate you watching 🙌✨

  • @duskchancellor-if8yi
    @duskchancellor-if8yi 6 місяців тому

    Awesome tutorials thanks ! Can you please share your extensions on vs code?

  • @programmertelo
    @programmertelo 7 місяців тому

    this is great

    • @DivRhino
      @DivRhino 7 місяців тому

      Thank you for watching! 🙏

  • @ma34529
    @ma34529 7 місяців тому

    Great intro to Cobra!

    • @DivRhino
      @DivRhino 7 місяців тому

      Thanks for watching! 🙌✨

  • @sayazdir
    @sayazdir 7 місяців тому

    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

  • @nikitakhabya3894
    @nikitakhabya3894 8 місяців тому

    Explained concepts so well! Keep it up!

    • @DivRhino
      @DivRhino 8 місяців тому

      Thank you for the encouragement! ✨❤️

  • @sirrus3009
    @sirrus3009 8 місяців тому

    Very clear and precise instructions, also the flow is perfectly paced. Please make more content like this. I just subscribed.

    • @DivRhino
      @DivRhino 8 місяців тому

      Thanks for stopping by and taking the time to leave a comment! I appreciate it! ✨

  • @nickshilov9929
    @nickshilov9929 8 місяців тому

    Amazing tutorial! Thank you for your time & efforts! Btw, your cover pages for videos are beautiful, love the way you design your videos!

    • @DivRhino
      @DivRhino 8 місяців тому

      Thank you for leaving such a kind and encouraging comment! I appreciate you being here ✨✨

  • @jackjack121
    @jackjack121 8 місяців тому

    When I initialize node the package.json does not appear in my vscode file explorer, but i can see it in my Docker container.

    • @DivRhino
      @DivRhino 8 місяців тому

      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 ."

  • @siddheshb.kukade4685
    @siddheshb.kukade4685 8 місяців тому

    From fcc❤

    • @DivRhino
      @DivRhino 8 місяців тому

      Love that! Thanks for stopping by ✨🙏

  • @chaloemrathengsahatsawat8772
    @chaloemrathengsahatsawat8772 8 місяців тому

    golang-nextjs

  • @jamesdunseith3079
    @jamesdunseith3079 8 місяців тому

    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!

    • @DivRhino
      @DivRhino 8 місяців тому

      This is such a nice comment! Thank you for watching and taking the time to leave it ✨🙏

  • @prashlovessamosa
    @prashlovessamosa 9 місяців тому

    Thanks mam

    • @DivRhino
      @DivRhino 9 місяців тому

      And thank you for watching! 🙏

  • @mr.daniish
    @mr.daniish 9 місяців тому

    Well explained and to BS content!

    • @DivRhino
      @DivRhino 9 місяців тому

      Thanks for taking the time to leave a comment! Glad to have you here ✨🙏

  • @hass89
    @hass89 9 місяців тому

    Quality and timely content! Thank you Div for the effort with this tutorial.

    • @DivRhino
      @DivRhino 9 місяців тому

      Thank you for all your support! ✨❤️🙏

  • @MWStudiooo
    @MWStudiooo 9 місяців тому

    Create a series on social media golang apis ( basic features ) if possible or any fullstack mobile app

  • @dcxwms2151
    @dcxwms2151 9 місяців тому

    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 :)

    • @DivRhino
      @DivRhino 9 місяців тому

      Thank you for the kind words! Glad to have you here ✨

  • @yogeshdharya3857
    @yogeshdharya3857 10 місяців тому

    Watching this video makes so much sense to me after making a demo project in fiber

    • @DivRhino
      @DivRhino 10 місяців тому

      That’s great to hear! This is the last video in a 3-part series, so I hope had fun watching ✨

  • @AbhishekShukla-k5l
    @AbhishekShukla-k5l 10 місяців тому

    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.

    • @DivRhino
      @DivRhino 10 місяців тому

      Thank you for your support!

  • @pjc825
    @pjc825 10 місяців тому

    Th quality of your videos are outstanding 💯😃👍

    • @DivRhino
      @DivRhino 10 місяців тому

      Thank you for your kind comment! Glad to have you here ✨

  • @WilliamSayin
    @WilliamSayin 10 місяців тому

    Very well made tutorial, thank you! It has helped me a lot!

    • @DivRhino
      @DivRhino 10 місяців тому

      I’m so glad to hear that! Thank you for your comment ✨🙏

  • @thientran2978
    @thientran2978 11 місяців тому

    thanks you Div Rhino

    • @DivRhino
      @DivRhino 11 місяців тому

      And thank you, Thien Tran!

  • @bpfxxlboy
    @bpfxxlboy 11 місяців тому

    Excellent!

    • @DivRhino
      @DivRhino 11 місяців тому

      Thank you for being here! ✨

  • @pooulad
    @pooulad 11 місяців тому

    use a larger font. i need my eyes

  • @ericdunn1529
    @ericdunn1529 11 місяців тому

    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?

  • @brad4au57
    @brad4au57 11 місяців тому

    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!

    • @DivRhino
      @DivRhino 11 місяців тому

      Thank you for leaving this comment! I’m sure others will find it very useful 🙏✨

    • @99baddar
      @99baddar 10 місяців тому

      Bro your comment saved my life thanks alot

    • @lifewiththelatchem-smiths5154
      @lifewiththelatchem-smiths5154 6 місяців тому

      Legend!

    • @vishnuk9628
      @vishnuk9628 3 дні тому

      @brad4au57 thanks, but how did you find it ??

  • @faizulla5838
    @faizulla5838 Рік тому

    how worck withot GORM?????

    • @DivRhino
      @DivRhino Рік тому

      If you don’t want to use an ORM like GORM, you can write SQL.

  • @chizidotdev
    @chizidotdev Рік тому

    This tutorial is scary good!! Thank you!

    • @DivRhino
      @DivRhino Рік тому

      Thank you for your scary nice comment! Glad you enjoyed it ✨✨

  • @enriquemarin8842
    @enriquemarin8842 Рік тому

    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.😃

    • @DivRhino
      @DivRhino Рік тому

      Thank you for your lovely comment all the way from Spain! ✨🇪🇸

  • @crisyglo
    @crisyglo Рік тому

    Your videos are excelent, please complete these series with jwt auth with access and refresh token

    • @DivRhino
      @DivRhino Рік тому

      Thank you for the comment and suggestion 🙏✨