AstroDB might be the easiest SQL setup you can get

Поділитися
Вставка
  • Опубліковано 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.

  • @SeibertSwirl
    @SeibertSwirl 2 місяці тому +17

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

  • @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

  • @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

  • @owenwexler7214
    @owenwexler7214 29 днів тому

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

  • @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

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

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

  • @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

  • @azzazkhansiddiqui
    @azzazkhansiddiqui 2 місяці тому +4

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

  • @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. 😂🥲

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

  • @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 🙂.

  • @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

  • @bloodline39
    @bloodline39 2 місяці тому +1

    SurrealDB

  • @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

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

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

  • @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