AstroDB might be the easiest SQL setup you can get

Поделиться
HTML-код
  • Опубликовано: 14 мар 2024
  • My Products
    📖 ProjectPlannerAI: projectplannerai.com
    🤖 IconGeneratorAI: icongeneratorai.com
    📝 ThumbnailCritique: thumbnailcritique.com
    Useful Links
    💬 Discord: / discord
    🔔 Newsletter: newsletter.webdevcody.com/
    📁 GitHub: github.com/webdevcody
    📺 Twitch: / webdevcody
    🤖 Website: webdevcody.com
    🐦 Twitter: / webdevcody

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

  • @yoJuicy
    @yoJuicy 2 месяца назад +4

    200k SUBSCRIBERS!!
    Congratulations. Thanks for the content the past couple years.

  • @cody_codes_youtube
    @cody_codes_youtube 2 месяца назад +1

    CODY! Congrats on the 200k. Nice work my dude. I’m still inspired by you to just get content out. My past two videos were quick, but I think your process is still faster. Keep it up my dude.

  • @ThaRealIansanity
    @ThaRealIansanity 2 месяца назад

    Great initial run through. I just went through this before watching your video and it is amazing how fast and easy the basic app setup is. I created my project through the studio web UI instead of locally so it automatically added a github action to the repo. When I created the db and seed locally and pushed to the repo it automatically added the table in studio. It's all so fast and automagic

  • @SeibertSwirl
    @SeibertSwirl 2 месяца назад +17

    Good job babe!!! Werk it boo! Also first! 👸🏿

  • @constantin2557
    @constantin2557 2 месяца назад

    WoW nice🔥
    Thank for quick and useful preview 👌
    I didn't know something like this exist
    Its like you combine express with alpainjs but super easier

  • @pomawewka
    @pomawewka 2 месяца назад

    Great video, thanks

  • @azzazkhansiddiqui
    @azzazkhansiddiqui 2 месяца назад +5

    TBH, spinning up a Docker container is much easier and performant.

  • @jonny555333
    @jonny555333 2 месяца назад

    Interested in giving astro a try. Sometimes i just don't want to use Next.

  • @tedm8492
    @tedm8492 2 месяца назад +2

    Idk if Web Dev Cody is applicable anymore, you’re doing so much more! Killing it dude.

    • @WebDevCody
      @WebDevCody  2 месяца назад

      thank you, but you know astro is a web development framework right? same with using a database (that's web development)

    • @tedm8492
      @tedm8492 2 месяца назад +1

      @@WebDevCody yes I do, I was mainly making a joke as you've been doing Kubernetes and Go content as well. Also, not a joke at you, I think it's awesome you're making that content.

    • @WebDevCody
      @WebDevCody  2 месяца назад +2

      @@tedm8492 ohh ok, now I understand you. I’m a bit slow

    • @tedm8492
      @tedm8492 2 месяца назад

      @@WebDevCody you're a very busy guy, it's all good. Joke delivery over text on the internet is tough I'll work on those 🙂.

  • @gorkemeldeniz9579
    @gorkemeldeniz9579 2 месяца назад +3

    Can you make video about comparing astro and next
    I want to know what i am capable of do something with astro that next does not provide.
    as far as I understand astro server actions does not need a revalidate the path that is cool.

    • @WebDevCody
      @WebDevCody  2 месяца назад +1

      yeah astro doesn't have all that built in caching like next does, so you don't need to revalidate anything

  • @xelion7110
    @xelion7110 2 месяца назад +1

    i don't know about astro i've never used it before but it doesn't look good dev experience i might need some opinions about it what good what not , and thanks in advance

    • @WebDevCody
      @WebDevCody  2 месяца назад

      I've used it, it seems easy to use from my perspective; much easier than next.js personally and it results in much smaller page bundle sizes

  • @owenwexler7214
    @owenwexler7214 Месяц назад

    0:46 But does the CLI say "Wrong answer, using TypeScript anyway" if you elect not to use TypeScript though, because it should.

  • @Phantom-pu1xn
    @Phantom-pu1xn 2 месяца назад

    Hey cody, where do you deploy your nextjs projects

    • @WebDevCody
      @WebDevCody  2 месяца назад

      Usually aws, but I’ve been playing around deploying on railway which works well too

    • @Phantom-pu1xn
      @Phantom-pu1xn 2 месяца назад

      Sorry, I wasn't specific. I meant where in AWS ? Like ECS, Amplify or S3. 😂🥲

  • @bloodline39
    @bloodline39 2 месяца назад +1

    SurrealDB

  • @snakefinn
    @snakefinn 2 месяца назад

    Why use this instead of something like Neon or Planetscale? All you need to set up is install a client (mysql2 or pg) and plug in the credentials.

  • @mr.javascript1320
    @mr.javascript1320 2 месяца назад

    what is that terminal ua using ?????

    • @WebDevCody
      @WebDevCody  2 месяца назад

      default in vscode

    • @shshshshhshshshsshhshshs6733
      @shshshshhshshshsshhshshs6733 2 месяца назад

      If you were able to find it, please let me know
      I saw that zsh is there, most likely you need to look there

  • @rohitkochikkatfrancis
    @rohitkochikkatfrancis 2 месяца назад +1

    As someone who is very curious as to how people get updated on all these new techs and updates,
    Could you please tell me how people are update about all these new things coming up everyday regarding AI and js ?
    Is it just through twitter or is it something else

    • @WebDevCody
      @WebDevCody  2 месяца назад +2

      Twitter, reading the blog news, in this example Fred sent me a dm and said they’d be releasing astro db soon

    • @rohitkochikkatfrancis
      @rohitkochikkatfrancis 2 месяца назад

      @@WebDevCody thats awesome. Been trying to learn so many things so that i can escape out of this 9-5 nightmare and live on my own terms.
      So many questions and so many confusions.
      Thank you man. Appreciate the response ❤️

  • @amarboro
    @amarboro 2 месяца назад +1

    Your channel has really gotten better lately, now it's about interesting technologies and no longer exclusively about javascript, I watch all your videos lately

    • @WebDevCody
      @WebDevCody  2 месяца назад +1

      don't be hating on javascript now

  • @AlleinArk
    @AlleinArk 2 месяца назад

    really good for landing page, or maybe it will be the new wordpress?
    idk.

  • @ouss
    @ouss 2 месяца назад +1

    Looks alot like a simpler Convex

    • @WebDevCody
      @WebDevCody  2 месяца назад +3

      yeah the reload database on schema save is similar, but I wouldn't compare them at all since it isn't a live database. It's just sql with an easier setup. convex is an entire baas for api endpoints, running functions, storage, live database, etc.

  • @zlackbiro
    @zlackbiro 2 месяца назад +1

    Using third party db and hosting in cheap VPS era is insane! Nothing is better than ubuntu, nginx, pm2, mysql installed, prisma and host everything with 2-5ms of response on the same VPS for $3. But you guys promote third party services, next on vercel, db on turso/planet scale, neon, etc, edge functions somewhere else and you complaining about bad performance and you paying for all of those bullshit $100 monthly. Really ingenious! Bravo!

    • @IvanRandomDude
      @IvanRandomDude 2 месяца назад

      As hardware gets more and more performant (hardware engineers went nuts in the last decade) the more and more single VPS can do for you. An average VPS 10 years ago might have been slow. Nowadays you can get 2vCpu and 8GB of RAM for 5 dollars. That's more than enough to server million requests per day.

  • @ordinarygg
    @ordinarygg 2 месяца назад +12

    Omg learn SQL, it takes time but not that hard. You will find yourself in the end of all of this wrappers of wrappers that will be breaking from version to version, instead of just doing plain SELECT LOL!!!

    • @WebDevCody
      @WebDevCody  2 месяца назад +9

      try an ORM one day, they are nice

    • @ordinarygg
      @ordinarygg 2 месяца назад +5

      @@WebDevCody and super slow compared to async C bindings for PostgreSQL. And % ORM bottleneck in all systems, spent most CPU time for nothing

    • @jitx2797
      @jitx2797 2 месяца назад +1

      Good advice but honestly typesafety is a big selling point of ORM and they do it very well... can't leave typesafety and experience for few performance gains.

    • @ordinarygg
      @ordinarygg 2 месяца назад

      @@jitx2797 few? 10-50x is few? typsafety is achievable from streaming row data into schemas directly. ORM is spending time calculating which query you need. Imagine total combined CPU time spend because we can't write SELECT LOL, it's millions of hours)))

    • @dave-7117
      @dave-7117 2 месяца назад

      Im still waiting for a Typenscript Plugin to Support raw sql with full typesafety. Cant be too hard but IT still does not exist. maybe i'll give it a shot