Golang Web Server and RSS Scraper | Full Tutorial

Поділитися
Вставка
  • Опубліковано 29 чер 2024
  • Learn the Go programming language by building a fully fledged RSS aggregator project in Go.
    Not familiar with Go basics? boot.dev/learn/learn-golang
    Not familiar with SQL? boot.dev/learn/learn-sql
    Learn back-end development - boot.dev
    == Chapter Contents ==
    (0:00:00) Intro + Prerequisites
    (0:00:00) P1. RSS aggregator project
    (0:10:30) P2. Chi router
    (0:28:24) P3. Postgres database
    (0:55:57) P4. Authentication w/ API keys
    (1:35:15) P5. Many to many relationships
    (1:56:00) P6. Aggregation worker
    (2:22:15) P7. Viewing blog posts
  • Наука та технологія

КОМЕНТАРІ • 53

  • @nanonkay5669
    @nanonkay5669 11 днів тому +3

    Sqlc and goose is a combination I've been excited to put together and did it on my own for a bit. I like the two because no ORM, reported excellent performance, typesafe queries, raw SQL to stay familiar with sql (i.e. no magic from ORMs) and simplicity.

  • @ighsight
    @ighsight 9 місяців тому +27

    This is the first Golang video I’ve seen that actually walks through concurrency with a *real* use case. Most use trivial examples that I didn’t find helpful.
    Also really appreciate how Lane leaves his errors in the video and talks through how he solves them. MUCH more useful than just showing perfect code. Less experienced devs will encounter basic errors, and seeing the thought process behind solving them is very valuable. Truly a top tier Golang tutorial, thank you for devoting the time to do this.

    • @bootdotdev
      @bootdotdev  8 місяців тому +3

      glad you liked it!

  • @paranoia77
    @paranoia77 10 місяців тому +1

    This course is so good!
    Followed until the end.
    Looking forward to the next tutorial!

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

    i really liked this format, learned a lot!

  • @0lange
    @0lange Рік тому +6

    So glad I ran into this channel.
    It would be great if you could make a video focused more backend development with Go. For instance, I know what an interface, struct, slice, etc is but how and when do you use them when working on a real-world backend application? The video could be something like "Go for backend development" or something else

    • @bootdotdev
      @bootdotdev  Рік тому +3

      Be sure to sign up on Boot.dev for more of that kind of content

  • @zahid1909
    @zahid1909 11 місяців тому +2

    Great post! You are a legend ❤

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

    Great video, thanks. I've built JSON REST APIs in Go before, but I've never used sqlc or goose. I'm looking forward to using those tools in my next project...

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

    Hey Lane ! Was looking for a video on this playlist which covered the context package of go Lang . However I couldn't find one , so could u please make one for us ! M quite sure plenty of subscribers like me want to understand contexts . U make things easy to understand 😁

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

    you got my subscription for this video. i never see golang in real use case before. thanks for make this video happens. If could, please help make video about GO programming basic to advance.

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

    Great tutorial!

  • @azazahmedlipu9738
    @azazahmedlipu9738 Рік тому +1

    You are insane ❤🔥

  • @mr.daniish
    @mr.daniish Рік тому +1

    Lane dropping golden nuggets!

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

    Your backend course looks solid. I'm only interested in the Go related parts though. Will be signing up in a few days.

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

    thanks for the video.
    I'd dockerize that and keep it running :)

  • @mlsandreas
    @mlsandreas Рік тому +1

    Thank you!!!!

  • @Connor-ye6nr
    @Connor-ye6nr 2 місяці тому

    sql.NullString{ Valid: item.Description != "", String: item.Description } can also be used :)

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

    Thank you lane

  • @adrishbora
    @adrishbora Рік тому +1

    Upto 2:04 is prerequisites (can add this timestamp in the video as well!)

  • @charlesozochukwu3563
    @charlesozochukwu3563 8 місяців тому +2

    Am on windows anytime i run sqlc generate i keep getting an error, postgres cant run on windows
    how do i fix that

  • @ripulhandoo2631
    @ripulhandoo2631 Рік тому +1

    PS C:\Users\HP\Desktop\go> sqlc generate
    # package postgres
    schema.sql:1:1: the PostgreSQL engine does not support Windows.
    What to do??

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

      ask chatgpt

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

      Join the discord for help :)

    • @Alex-hy7nx
      @Alex-hy7nx 9 місяців тому

      I know this may be a bit too late, and that you've probably already got your answer, but try to use WSL (Windows Subsystem for Linux)

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

      @@Alex-hy7nx I'm using it in a docker container. it's easier

  • @anuragnayak9704
    @anuragnayak9704 Рік тому +1

    I'm not able to connect to the database through DB_URL

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

      Join the discord to get help :)

  • @juniordataengineer
    @juniordataengineer 9 місяців тому +4

    Would a project like this make for a backend portfolio project ? When looking at building portfolio projects there is more to show in the front end than the backend .

    • @TannerBarcelos
      @TannerBarcelos Місяць тому +2

      Absolutely. You could use GenAI to build the UI super super basic just to make it a little easier to reason about for the viewers of the project.

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

    Is there a GitHub repo?

    • @bootdotdev
      @bootdotdev  8 місяців тому +1

      All the code is on Boot.dev!

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

    hey, I got a error and its says that >The PostgreSQL does not support windows. what to do ?

  • @yankinder
    @yankinder 16 днів тому

    29:20
    43:10

  • @oleksandrzorenko231
    @oleksandrzorenko231 Рік тому +6

    The simpler way to add json tags to the struct generated by sqlc is to add this one line to sqlc.yaml "emit_json_tags: True':
    go:
    emit_json_tags: True
    out: "internal/database"
    Hope it helps.

  • @mahendranath2504
    @mahendranath2504 Рік тому +2

    Thank you so much 👍👋👌🫡🙏🏻👏🤝😎✌️🫰🏻

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

    Is there a reason to prefer "go build && ./rssagg" over "go run ." ?

    • @bootdotdev
      @bootdotdev  8 місяців тому +2

      I prefer to build because it perfectly mimics production, but tbh doesn't matter much