FastAPI Python Tutorial - Learn How to Build a REST API

Поделиться
HTML-код
  • Опубликовано: 17 дек 2024

Комментарии • 31

  • @anujonthemove
    @anujonthemove Год назад +1

    I think this is the best possible introduction for FastAPI! Kudos!

  • @nixielee
    @nixielee 2 года назад +5

    Really solid explanations without getting stuck. Your channel will blow up when the RUclips algorithm is on your side

    • @pixegami
      @pixegami  2 года назад +2

      Thanks! Glad you found it helpful!

  • @picasteser
    @picasteser Год назад +1

    Did the tutorial today and had a lot of fun!

    • @pixegami
      @pixegami  Год назад

      Awesome, glad to hear that!

  • @sharafmomen2460
    @sharafmomen2460 Год назад +2

    You're honestly a gem, I needed this!

  • @andrewchen2349
    @andrewchen2349 Год назад +1

    Thank you for this video! Your channel is underrated.

    • @pixegami
      @pixegami  Год назад

      Thank, I appreciate that!

  • @emmanuelalder9052
    @emmanuelalder9052 Год назад +1

    Another great video. Thank you. Please keep them coming.

  • @sinlungke
    @sinlungke Год назад +2

    Thanks for the well explained tutorial, may i ask what the tool for command autosuggestion on the bash??

    • @pixegami
      @pixegami  Год назад +1

      I used an autocomplete plugin for zsh there. More info in this video: ruclips.net/video/UvY5aFHNoEw/видео.html

  • @brendanpeterson5411
    @brendanpeterson5411 Год назад

    Great Video. excellent pace. keep it up.

  • @sergekapema5372
    @sergekapema5372 Год назад +1

    Thank you for this beautiful project , you have an example on put?

    • @pixegami
      @pixegami  Год назад

      Not sure if this helps, but here I have a tutorial that actually covers an entire CRUD app using FastAPI as a backend: ruclips.net/video/iLt00bqp6is/видео.html

  • @gustavojuantorena
    @gustavojuantorena 2 года назад +2

    Great and well explained tutorial. Thank you!

    • @pixegami
      @pixegami  2 года назад +1

      You're welcome! I hope it's useful.

  • @emmanuelalder9052
    @emmanuelalder9052 Год назад +1

    @pixegrami, how would I delete a book? I'm having trouble doing that. Thanks

    • @pixegami
      @pixegami  Год назад

      You would have to create a new endpoint like "@app.delete("/remove_book")" and then write the logic in that function to remove the book at that index/key.

    • @emmanuelalder9052
      @emmanuelalder9052 Год назад

      @@pixegami thanks for the response, I will try again and see if I can get it to work. Thank you.

  • @juneshgautam8655
    @juneshgautam8655 2 года назад

    Hi, I am having trouble running from the part when we introduced JSON file. I don't understand the problem.

  • @Raj-ks3jk
    @Raj-ks3jk 2 года назад +1

    Bro literally wonderful tutorial 🔥🔥.
    Need more videos plz

    • @pixegami
      @pixegami  2 года назад

      Thanks! More to come!

  • @arukass_
    @arukass_ Год назад +1

    Amazing tutorial! Also, may i know your vscode theme? 🙂

    • @pixegami
      @pixegami  Год назад

      This is what I’ve been using: Monokai Pro monokai.pro/

  • @unknown-sl5mv
    @unknown-sl5mv 9 месяцев назад +1

    this is great

  • @freepythoncode
    @freepythoncode Год назад +1

    Thank you so much 🙂❤
    Can you make video about how to host api for free

    • @pixegami
      @pixegami  Год назад +1

      Try AWS Lambda: ruclips.net/video/RGIM4JfsSk0/видео.html
      The free usage limit is like 2M requests or something, so it's pretty much free until you start to have lots of users.

  • @rustamismailov7594
    @rustamismailov7594 Год назад +1

    Why are you stick to those RPC style endpoint naming like "list-books", "add-book" etc? IMHO in REST world, your "list-books" will become "GET /books", "add-books" will become "POST /books" etc. The plural-vs-singular REST API entities naming is controversial and not so critical as sticking to RCP-style endpoints naming of REST APIs.

    • @pixegami
      @pixegami  Год назад

      Hmm interesting, I haven't really seen many examples like "GET /books" as opposed to an explicit endpoint name, so I never even thought about it.
      I think one explanation is maybe you want multiple methods for the resource. E.g. "get-book" and "describe-book" (more verbose).