This is apparently the most loved CRUD app of 2023

Поділитися
Вставка
  • Опубліковано 5 сер 2024
  • We all have our own favorite tech stack, but is there a tech stack that can rule them all?
    Well, according to stack overflow, there is! In this video, we look at creating a crud app using the most loved tech stack.
    This video was sponsored by Fl0. You can check out their awesome product using the following link
    www.producthunt.com/products/fl0
    Join this channel to get access to perks:
    / @dreamsofcode
    My socials:
    Discord: / discord
    Twitter: / dreamsofcode_io
    My Equipment:
    Voice over: kit.co/dreamsofcode/voiceover
    Coding: kit.co/dreamsofcode/coding
    Video Links:
    Github: github.com/dreamsofcode-io/mo...
    FL0: www.producthunt.com/products/fl0
    00:00 Intro
    00:28 Most loved stack
    01:57 Getting started
    03:58 Deployment
    07:36 Create Method
    13:24 Read Method
    15:11 Update Method
    17:27 Delete Method
  • Наука та технологія

КОМЕНТАРІ • 216

  • @yasser_khouader
    @yasser_khouader 9 місяців тому +13

    i would love to see the production ready version of this and a detailed video of all the steps implemented in here

  • @ekekw930
    @ekekw930 10 місяців тому +95

    Woud love to see pagination and filtering

    • @logicweaver7152
      @logicweaver7152 10 місяців тому +2

      This please!

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

      Yes please!

    • @DK-yz9sk
      @DK-yz9sk 10 місяців тому

      +1

    • @atrocitus777
      @atrocitus777 10 місяців тому +6

      yes and also how you would handle authorization you probably don't just want anybody update/deleting entries in the database

    • @dreamsofcode
      @dreamsofcode  10 місяців тому +3

      Absolutely!

  • @MegaPacoquinha
    @MegaPacoquinha 10 місяців тому +2

    Awesome video! Helped me solve a lot of problems I was making while building a crud with axum. Would like to see a production ready one

  • @_manne
    @_manne 10 місяців тому +25

    Would love to see a full course on this

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

    densely packed with knowledge and great pacing of the video

  • @mr.togrul--9383
    @mr.togrul--9383 10 місяців тому

    congratz on 50K subs, soon it will be 100K, your content is good and insightful

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

    This is insane. everthing is in one. Keep up the good work.

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

    Your channel is amazing, Please keep up this great work

  • @danielbolivar9134
    @danielbolivar9134 9 місяців тому +2

    Loved the foundation reference!
    Such a great book and loving the series

  • @SandwichMitGurke
    @SandwichMitGurke 10 місяців тому +23

    recently wrote a CRUD app with the same stack except using diesel instead of sqlx. But after a while diesel was slowing me down and made things overly complicated, so I started using sqlx for new functions (am planning to replace everything with sqlx at some point).

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

      If you use mongodb you can write straight up queries in rust. Rust is the best language for mongodb and vice versa.

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

    Awesome content! Thanks.

  • @DeviantFox
    @DeviantFox 7 місяців тому

    This was so well done... I'd love to see you do something like this with svelte and maybe some of the more advanced tpoics too.

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

    Loved the Foundation reference. Great book!

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

    I like the tech stack, but honestly I’m most impressed with the sponsor. That looks sick. And the pricing seems decent too.

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

    Learnt more about rust here than so many other “intro” to rust.

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

    Love to see a series diving deeper into production ready features

  • @derekallred7251
    @derekallred7251 4 місяці тому

    Love your videos! Id love to see your setup for writing elixir apps! Sad it wasn’t chosen here 😂

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

    This channel is a gem!

  • @user-xp4mm1zu2y
    @user-xp4mm1zu2y 8 місяців тому

    best flow ad ive seen so far, the video was good too

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

    Thanks for the video. Are you using a Neovim distro or is this all custom?

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

    loved the video. really quality stuff here. ❤

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

    I subbed. I'm waiting for that video 😂

  • @scaffus
    @scaffus 10 місяців тому +2

    Love your work!

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

      Thank you so much! I appreciate your support a lot!

  • @3luizcunha
    @3luizcunha 7 місяців тому

    Another excellent video of yours! Thank you very much for all the effort you put on your videos.
    Answering one question you made at the beginning of your video, I'd love to see how you deploy your applications to a custom home lab machine

    • @dreamsofcode
      @dreamsofcode  7 місяців тому +1

      Thank you! I appreciate the kind words.
      I'm planning on starting another channel very soon which will be more focused on Homelab. I'll make sure to do an announcement when my first video goes live 😁

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

    cool. keep learning and keep growing :)

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

    very good video
    more like this would be cool

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

    I really like the video and trying to follow along. Just stuck with an error compiling after adding the create_quote handler. Is the code available on github?

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

    When you said 'stack' I wronly expected also a Gui setup. Any change to see something like that (Gui+Crud) worked out?

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

    Personally I find RUST web frameworks lacking in basic functionality for any non-trivial apps. We had to write a lot of code to make the developmen more efficient.
    I'd say that the current status of Rust in production requires writing a lot of helper code to solve problems that were solved by other frameworks. So if time to market is what interests you, I'd use another language and framework.

    • @IvanRandomDude
      @IvanRandomDude 10 місяців тому +13

      Same as GO. "Just use standard library" bros are always there to tell you that you don't need anything, write your own. As if time is not important in business. As If I can tell my PMs that I need 3 times more time to develop something that it can be done in a week in Laravel, Django or NextJS. But hey, at least our final product that is late to the market will be faster. Nobody will use it but hey, look at how performant it is.

    • @mintx1720
      @mintx1720 10 місяців тому +3

      There is some truth to this, but the real reason you write a lot of "helper code" is because rust does not allow you to get away with not handling errors. Especially in Axum where you have to return a response and not a anyhow::Error. In the long term you will have to do this in other languages and rust will shine in due time.

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

      Examples?

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

    Very nice video thanks

  • @guitaripod
    @guitaripod 10 місяців тому +59

    Thanks
    I'm curious how many hours did this video take to create? Your production quality is superb.
    Would like to see a mirror of this in Go - Perhaps a production-tier course?

    • @dreamsofcode
      @dreamsofcode  10 місяців тому +18

      Thank you so much! I really appreciate that.
      It probably took around 30 hours total. My script initially wasn't that great so I had to re-record a bunch of audio!
      That's a great idea! I'll add it to my backlog.

    • @codetothemoon
      @codetothemoon 10 місяців тому +6

      @@dreamsofcodethe idea that you are able to acheive this level of quality in only 30 hours is incredible. Quite in awe of your channel in general, well done! 🚀

    • @dreamsofcode
      @dreamsofcode  10 місяців тому +4

      @@codetothemoon Thank you! I'm a huge fan of yours as well!

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

      @dreamsofcode @codetothemoon I love both of your channels, and love seeing the mutual respect. Cheers to you both!

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

    Tempted to subscribe now!

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

    what is the plugin for toml to know latest version? thank you for the content 🤙

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

    I will be trying out your sponsor for my new app real soon

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

    Would love to see a full course

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

    I'd love to see more production-"ready" content and more Rust backends.

  • @wlockuz4467
    @wlockuz4467 10 місяців тому +15

    I wish the real world requirements were always this precise.

  • @livghit
    @livghit 10 місяців тому +86

    Techstack deez

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

    Excellent video. One important bit missed that's also missing in your repo, the `cargo chef cook` also requires a `--release` flag for the Docker caching to work. Without that, it'll still do a full release build every time on the `cargo build`.

  • @user-ly1st4dt3g
    @user-ly1st4dt3g 9 місяців тому

    What editor are using?

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

    thanks

  • @nan0ponk
    @nan0ponk 7 місяців тому

    Production!

  • @falkkon9488
    @falkkon9488 10 місяців тому +8

    Hi, I really enjoy your videos !
    I'd love to see more production-"ready" content and more Rust backends.
    Yes pagination and filtering please

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

      Pagination is so annoying to do.

  • @dreadmondays
    @dreadmondays 9 місяців тому +2

    Excellent video, well structured, and the audio is perfect👌
    I would like to say though, having entire lines of code flash in make it VERY hard to follow along. Having your cursor spit out the characters, even when sped up, which you do at times, is much more readable.
    Also, Phoenix+Liveview when? 🤩

    • @dreamsofcode
      @dreamsofcode  9 місяців тому +3

      Thanks for the feedback! It's a real balancing act trying to keep a good pace for entertainment, whilst also allowing people to follow along. I'll try and do better in the future!
      I've added to the backlog ;)

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

    I would love to see the production ready version.

  • @Alan910127
    @Alan910127 10 місяців тому +3

    The `--release` flag should also be added to the `cargo chef cook` command if you're building your app in release mode!

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

      It didn't work out for me. The build failed due to --release flag in cargo chef cook

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

    Your vid is so asthetic that I keep watching it even I don't know Rust xD

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

      Thank you! That's such nice feedback!

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

    AWS provides free tier for a lot of things and I'm using it with my projects for years

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

    Would love to see a full production app using go

  • @avalagum7957
    @avalagum7957 10 місяців тому +5

    Thank you very much for this video. It's really REALLY cool.
    In the next videos, could you show us:
    - how to use a logging facade + implementation
    - how to write tests for this CRUD app using something like @Testcontainers (in Java world)
    - how to return the id from the insert statement if the id is from a db sequence. For example, my insert statement is like this: insert into my_table (
    id, column_name) values (nextval('my_sequence'), 'some name')
    - how to call another web service, how to generate traceId, spanId and have them written in logging messages
    - how to use micrometer in Rust
    - how to use OpenId, OAuth2 in Rust
    FL0 looks really nice. However, the free tier gives us only 256 MB of memory (it might be ok for a Rust app. I'm coming from the Java world, so 256 MB is very little for me). An alternative solution is Oracle Cloud. Its free tier gives you 4 ARM cpu cores, 24 GB of memory, 200 GB hard disk, a free Oracle db which doesn't use those cpu, memory and hard disk (not sure if Rust can work with Oracle db). I can run docker containers there for a Postgres db, a Jenkins server, a Elasticsearch + Fluentd + Kibana for viewing logs.

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

      These are some awesome suggestions! Thank you!
      Testcontainers are amazing, I use them for rust projects as well 😁. That's a great idea for a video.
      Oracle cloud sounds interesting as well, I'll check it out for another video!
      Thank you again

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

      INSERT INTO my_table () values ( RETURNING id;
      you can return more columns, or * , as you want

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

    I feel like CRUD should conceptually be replaced by "SSR", or Save, Search, Remove, because there’s no point in having separate create and update endpoints anymore over a single Save method that recognizes by whether an id exists in the body whether the operation is create or update, while get by id and get all are rarely sufficient, and a get with query parameters is generally necessary, and finally remove includes soft deletes (which I hate, btw, so I’d rather not). But hey, SSR is already taken by Server-Side Rendering so nvm who cares…

  • @user-gl1ql8zk3w
    @user-gl1ql8zk3w 9 місяців тому

    The path to success is to take massive, determined action.

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

    thank you!

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

      Thank you so much! I really appreciate the support.

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

    Hi, you could do a video that goes through all the process of arch linux installation with your setup?

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

    Axum with sqlx is my currently favourite tech stack as 4 now.

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

    .
    Nice! But I think you miss the cargo watch, to automatically build and run you code. 😉
    Anyway, good video as always. 👍

  • @RatchetXJ0461
    @RatchetXJ0461 10 місяців тому +2

    Great video, when is part two talking about front-end? 😂

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

      This is a great idea! My front end skills have gotten rusty recently so I need to sharpen them up 😉

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

      @@dreamsofcode You could, of course, write the front-end in Rust with something like Leptos ;)

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

    why wasnt a Result return in case of update , but was returned in case of create and read ??? @op

  • @Dev-Siri
    @Dev-Siri 10 місяців тому

    lets get him to 75k boys! we forcing him to try out the dreaded.

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

    What's that font?

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

    such a nice and cheap to run on cloud stack

  • @abplayzz
    @abplayzz 10 місяців тому +4

    Great video!! BTW I'm thinking about switching to a Linux distro, particularly the one you have, but I really wanna have it look like your UI which is sick.. A tutorial on this would be great!! Great videos as always.

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

      This is MacOS…

    • @abplayzz
      @abplayzz 10 місяців тому +3

      @@FarhadOmid it's not, it's Arch Linux.

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

      ​@@abplayzzthose windows look just like in MacOS tho

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

      ua-cam.com/video/CVCBHHFXWNE/v-deo.html
      @@FarhadOmid

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

      @@dargkkast6469 I am wondering how does he minimize those windows, there's literally just one button on the window bar...

  • @AnnasVirtual
    @AnnasVirtual 7 місяців тому

    look at the c# behind rust mmmm i love it

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

    Important missing feature/thing to do: make it so that it does a database migration before deployment.
    And why is it not using the database to generate the timestamps ?

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

    Elixer never heard of it till this point

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

    HOLD ON!! You can make the sub button RGB for the push? What sorcery is this??

  • @onta.nicolae
    @onta.nicolae 9 місяців тому +1

    1:00 subscribe button glowing as he said to not press it. wth

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

    Would love to see template engine and htmx integration

  • @lebahsaham9947
    @lebahsaham9947 9 місяців тому +1

    nice video editing... i want all udemy video like this!!!!!!!

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

      Thank you! I'm working on my own courses in the future. Is there one you'd like to see in particular?

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

    what's that font tho ?

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

    bro can spawn code out of nowhere 💀

  • @Hobbitstomper
    @Hobbitstomper 10 місяців тому +8

    If only your discord server wouldn't be run by power hungry abusive toxic mods.

    • @nopenope6486
      @nopenope6486 10 місяців тому +4

      Same poor experience here. I asked a question about Neovim and I got several helpful replies. A day later a mod tells me wrong channel (General instead of Neovim help). I politely apologized and thanked him for pointing me to the right channel. Mod continues the conversation by telling me not to do it again. (I didn't) but I apologized again anyway, saying I won't do it again and I know where to post now. Then he keeps pushing for the conversation to go on, and how I should have known better. Not really sure on why he kept pushing for it since I haven't written a single word other than apologizing. So I apologize again and ended the sentence with a smiley face. I was nothing but polite. One minute later he bans me for 24 hours saying that a "smiley face" is considered extremely passive aggressive and he doesn't need such an attitude. I PM him and then he goes on and on how a smiley face is passive-aggressive. He eventually unbanned me. But I gotta say, a person that is so hypersensitive who gets triggered by a genuine smiley face and reads into things that aren't there, and is passive-aggressive himself while accusing others of exactly that, should not moderate your server.

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

      @@nopenope6486 sighs, I have had the same experience in other discord servers, sending a smiley face is somehow "toxic", you should prob send :^), as it is kinda playful and leaves no room for misunderstandings (I hope)

  • @swyktrodeherrera31
    @swyktrodeherrera31 10 місяців тому +2

    Delete should return 204 in case of success

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

    🔥🦀

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

    Would you please teach us the necessary concepts to develop a mindset like yours...

  • @principleshipcoleoid8095
    @principleshipcoleoid8095 9 місяців тому +1

    Join the Bevy Rust cult! I mean movement

  • @codeman99-dev
    @codeman99-dev 10 місяців тому

    3:25 Why `.unwrap()`...? The return type is already a result. Seems like the question mark operator is more correct.
    (This is a genuine question... I'm learning too!)

  • @AnthonyR007
    @AnthonyR007 10 місяців тому +2

    Subbing to see most despised tech stack

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

      Really though, it’s because I just realized I wasn’t already subscribed

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

      Haha. I'm scared to do it.

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

    nice

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

    I like your channel. I think you're really good at explaining things. And this one was a good video.
    The thing is that I watch your channel to try and be a better developer. A LOT of your latest videos has focused heavily on the sponsor, and sometimes the sponsor is not mainstream at all.
    I'm left with the feeling that I just learned something useless.
    Again, this doesn't fully apply to this video. Only to a minor extent.
    I understand the need to monetize the content, and I hope you keep approaching that balance, but please take this into consideration.

    • @dreamsofcode
      @dreamsofcode  10 місяців тому +2

      Hey! Thanks for the feedback. I hear you.
      Sponsorships are a hard one to balance. I try to match sponsors to content that I already have planned and am trying to get better at making them complimentary to the video itself (rather than being the sole focus). In this video, the product complimented well for getting the app deployed, otherwise I probably would have just ran it locally or on my homelab. The video content itself other than that was pretty much untouched.
      As I start producing more content, the ratio of sponsored content should decline, but that's not for a few more months.
      Thank you for sticking with me as I try to get better with everything! I'm still pretty new to making content!

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

    👍👍

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

    I like Rust, but I'm afraid of starting a real production project using it, because I don't want to shoot myself in the foot. I've heard async Rust have a lot of complicated stuff which makes it extremely easy to shoot yourself in the foot instead of getting BLAZING FAST™ performance. A
    ssuming I need something a bit more complicated than just a CRUD API (or some easy CRUD project at first will grow into something complex).

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

      That's why I stick with Go and TypeScript for real world applications. And also Rust developers are still rare on the job market.

  • @raduking
    @raduking 5 місяців тому

    Gotta love SQL injection ;)

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

    Cobol on wheelchair!

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

    Why are you including a whole Rust toolchain in the deployed container?

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

      Yeah, there's no need to do so. I was just copying the example on the fl0 website. I probably wouldn't use the chef base image either in a personal project but wanted to make it as easy to follow as possible.

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

    Gigachads uses the most hated stack in production

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

    I use Golang and Elixir....enjoy it all. Idk about rust tbh. The complexity of the language doesn't help with fast modifications to existing code bases.

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

      Big fan of all three languages, and for different use cases. Normally I'd go with Golang for a CRUD api, but the survey gods decided!

  • @user-vb2cv7tg5t
    @user-vb2cv7tg5t 9 місяців тому

    Time changes everything except something within us which is always surprised by change.

  • @adrymateoramon7087
    @adrymateoramon7087 5 місяців тому

    12:50 ❣❣❣❣❣❣❣❣

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

    Can u so 1 for deploying a phinix app?

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

      This is a great idea

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

      @dreamsofcode
      Thx. I am just working on 1 rn and I asked for what I needed

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

    bro i'm waiting for next video in flutter setup on nvchad please make make make .......!!!!!

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

      Deal. I've added it as the next one in the series.

  • @thedelanyo
    @thedelanyo 10 місяців тому +2

    Mine could be Zig, Sveltekit, supabase

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

      I like zig but the documentation of the standard library is horrible. Better documentation imo would make it more attractive.

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

      CRUD in language with possible use after free? No way

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

    Where are the tests?

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

      They're in the 60 minute video 🤣

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

    For the update handler, shouldn't it be sensible to use PATCH instead of PUT?

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

      PUT is where you can add a resource with the properties without failing as in "already exists". PATCH is to update a resource's properties

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

      A great question! I typically prefer PUT to PATCH for updating. PATCH is used for partial updates, rather than replacing the resource in its entirety.

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

    Actually JS is most loved (desired).

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

    Why the heck does that Dockerfile consist of FOUR stages that almost do nothing? I mean, one build stage is for providing a base for two other build stages, which look like they could do their stuff in one build stage. Is this necessary in rust or why is the "cargo chef prepare" in a different build stage than the "cargo chef cook" and "cargo build"? Seems overcomplicated to create a new build stage for every command but copying everything over from the previous stage. The only thing I could think of is optimizing container build time by making better use of layer caching, although this doesn't seem that significant here.

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

      Agreed. It's not how I would normally write a dockerfile. I also don't believe you need to use their reference one either (I tried it out on another project and it worked fine).
      You should be good with a more concise dockerfile.

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

    2:16 yes gotcha. you give your fiules to someone else computer free

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

    Who the fk put python that high in language they love???

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

    I personally hate docker with a passion. As soon as a I see shit that doesn't touch the file system and is compiled with it's deps using docker, I blow a fuse.

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

      What do you hate about it?

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

      @@dreamsofcode the fact that every docker user thinks that they are Google?

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

    Could have used Svelte + Rust for the API.