Working with APIs in Astro is AMAZING!

Поделиться
HTML-код
  • Опубликовано: 11 июл 2024
  • #astro #webdevelopment
    Learn how to work with API data in Astro and also learn how to create your own API.
    WSL2: www.ceos3c.com/category/wsl-2/
    ⚡️ Courses
    ↬ www.stefanrows.com
    📝 Blog
    ↬ www.ceos3c.com
    🔗 All The Links & Goodies
    ↬ linktree.stefanrows.com
    🥰 Show Support
    ↬ Patreon: / stefanrows
    ↬ PayPal: www.paypal.me/ceos3c
    ↬ Buy Me A Coffe: www.buymeacoffee.com/stefanrows
    ✅ Follow Me On Social Media
    ↬ Discord: / discord
    ↬ Twitter: / ceos3c
    ↬ Facebook: / ceos3c
    ↬ Instagram: / stefanrows
    ↬ Twitch: / ceos3c
    📩 Newsletter
    ↬ www.ceos3c.com/go/newsletter
    🤩 Specials
    ↬ 100$ Digital Ocean Credit: ceos3c.com/go/digitalocean
    ↬ Huge NordVPN Discount: ceos3c.com/go/nordvpn
    ↬ Increase Blog Earnings With AI: ceos3c.com/go/ezoic-ai
    00:00 Intro
    00:40 Creating the Project
    04:00 Fetching API Data
    08:50 Creating API Endpoints
  • НаукаНаука

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

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

    Good one bro. Keep up great content coming in.

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

    more Astro related things, thank you

  • @MarcelSchalk
    @MarcelSchalk 5 месяцев назад

    Hi. I tried to use that as a mock api in dev mode. Any idea how I can exclude that files in production?

  • @JVSd-SG
    @JVSd-SG Год назад

    If I need fill the form then after confirmation (button pressed) update data in youtube video and fetch the result under the form, then use form values further for another socials. Is it ok to use Astro? Where to put scripts for social api, how to call? Which stack better for this? express + react / sveltekit / astro?

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

    Thanks for free knowledge

  • @funkologie
    @funkologie 5 месяцев назад

    Is there not a more elegant way for the url? Do we need an absolute path?

    • @eynaralvarez4887
      @eynaralvarez4887 4 месяца назад

      You can try with a relative path "/api/...", like in NextJS

  • @robertostringa9254
    @robertostringa9254 5 месяцев назад

    inside map()... ??

    • @RobertMcGovernTarasis
      @RobertMcGovernTarasis 4 месяца назад

      I had the same initial thought, but it makes sense sorta as each item is its own list.

    • @robertostringa9254
      @robertostringa9254 4 месяца назад

      @@RobertMcGovernTarasis But if the is inside the map() loop, it ends up as , when it should be

  • @mikehurtado4772
    @mikehurtado4772 8 месяцев назад

    Only get

  • @michabbb
    @michabbb 10 месяцев назад

    jeder youtuber verzichtet gerne auf das "th" in der englischen aussprache, aber hey, man kann es doch wenigstens mal versuchen.... oder ? ;)

    • @nyaanity
      @nyaanity 9 месяцев назад +1

      wen juckt es denn