yes and also how you would handle authorization you probably don't just want anybody update/deleting entries in the database
@dreamsofcode
11 ай бұрын
Absolutely!
@derekallred7251
6 ай бұрын
Love your videos! Id love to see your setup for writing elixir apps! Sad it wasn’t chosen here 😂
@petertillemans2231
7 ай бұрын
Love to see a series diving deeper into production ready features
@AZisk
11 ай бұрын
loved the video. really quality stuff here. ❤
@dreamsofcode
11 ай бұрын
Thank you!
@user-xp4mm1zu2y
10 ай бұрын
best flow ad ive seen so far, the video was good too
@falkkon9488
11 ай бұрын
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
11 ай бұрын
Pagination is so annoying to do.
@smarterlife7331
10 ай бұрын
Awesome content! Thanks.
@maxterrain
11 ай бұрын
This channel is a gem!
@TarasShabatin
10 ай бұрын
I would love to see the production ready version.
@swyktrodeherrera31
11 ай бұрын
Delete should return 204 in case of success
@heartly4u
10 ай бұрын
why wasnt a Result return in case of update , but was returned in case of create and read ??? @op
@nan0ponk
9 ай бұрын
Production!
@emmanuelezeagwula7436
11 ай бұрын
what's that font tho ?
@NexusGamingRadical
11 ай бұрын
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
11 ай бұрын
What do you hate about it?
@sunofabeach9424
11 ай бұрын
@@dreamsofcode the fact that every docker user thinks that they are Google?
@ismaelabogabal6041
11 ай бұрын
nestjs js would do all of this in single line comand in terminal 🤣🤣🤣🤣
@kalasmournrex1470
10 ай бұрын
I refuse to accept Reddis as a database.
@zemaumm
11 ай бұрын
MOST DESPISED TECHSTACK VIDEO WHEN
@dreamsofcode
11 ай бұрын
😭😭😭😭
@GladTidingsToTheStrangers
11 ай бұрын
why were my comments deleted?
@dreamsofcode
11 ай бұрын
Are you posting a URL? KZitem automatically deletes comments with URLs.
@ЕвгенийМохов-й8ю
11 ай бұрын
Rust is super cool, but then you build real app it’s get too complicated
@jeremyh9841
10 ай бұрын
it looks horrible
@Hobbitstomper
11 ай бұрын
If only your discord server wouldn't be run by power hungry abusive toxic mods.
@nopenope6486
11 ай бұрын
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
11 ай бұрын
@@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)
@SandwichMitGurke
11 ай бұрын
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
10 ай бұрын
If you use mongodb you can write straight up queries in rust. Rust is the best language for mongodb and vice versa.
@livghit
11 ай бұрын
Techstack deez
@joseph0x45
11 ай бұрын
nutzzzz
@cyanide5188
10 ай бұрын
Deez what
@joseph0x45
10 ай бұрын
@@cyanide5188 🥜
@1oglop1
11 ай бұрын
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
11 ай бұрын
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
11 ай бұрын
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
11 ай бұрын
Examples?
@guitaripod
11 ай бұрын
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
11 ай бұрын
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
11 ай бұрын
@@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
11 ай бұрын
@@codetothemoon Thank you! I'm a huge fan of yours as well!
@AnthonyBullard
10 ай бұрын
@dreamsofcode @codetothemoon I love both of your channels, and love seeing the mutual respect. Cheers to you both!
@_manne
11 ай бұрын
Would love to see a full course on this
@Bliss467
10 ай бұрын
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…
@yasser_khouader
10 ай бұрын
i would love to see the production ready version of this and a detailed video of all the steps implemented in here
@avalagum7957
11 ай бұрын
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
11 ай бұрын
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
11 ай бұрын
INSERT INTO my_table () values ( RETURNING id; you can return more columns, or * , as you want
@wackytheshaggy
10 ай бұрын
I like the tech stack, but honestly I’m most impressed with the sponsor. That looks sick. And the pricing seems decent too.
@AlexGhoro
10 ай бұрын
Your vid is so asthetic that I keep watching it even I don't know Rust xD
@dreamsofcode
10 ай бұрын
Thank you! That's such nice feedback!
@Alan910127
11 ай бұрын
The `--release` flag should also be added to the `cargo chef cook` command if you're building your app in release mode!
@HenrikKleist
11 ай бұрын
It didn't work out for me. The build failed due to --release flag in cargo chef cook
@wlockuz4467
11 ай бұрын
I wish the real world requirements were always this precise.
@principleshipcoleoid8095
11 ай бұрын
Join the Bevy Rust cult! I mean movement
@dreadmondays
10 ай бұрын
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
10 ай бұрын
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 ;)
@carlosiglesias4109
10 ай бұрын
Creating endpoints to manage your database it is not good practice nowdays. Time wasted. They should be offered by your host provider.
@larsondavis8155
11 күн бұрын
you mentioned, not until 75k subs. this aged super well. XD
@CristianHeredia0
11 ай бұрын
Thanks for the video. Are you using a Neovim distro or is this all custom?
@LukasSkywalker_
10 ай бұрын
AWS provides free tier for a lot of things and I'm using it with my projects for years
@AnthonyR007
11 ай бұрын
Subbing to see most despised tech stack
@AnthonyR007
11 ай бұрын
Really though, it’s because I just realized I wasn’t already subscribed
@dreamsofcode
11 ай бұрын
Haha. I'm scared to do it.
@epicmap
11 ай бұрын
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
11 ай бұрын
That's why I stick with Go and TypeScript for real world applications. And also Rust developers are still rare on the job market.
@hmmmza
10 ай бұрын
Would you please teach us the necessary concepts to develop a mindset like yours...
@Shogoeu
10 ай бұрын
Actually JS is most loved (desired).
@comedyclub333
10 ай бұрын
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
10 ай бұрын
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.
@RatchetXJ0461
11 ай бұрын
Great video, when is part two talking about front-end? 😂
@dreamsofcode
11 ай бұрын
This is a great idea! My front end skills have gotten rusty recently so I need to sharpen them up 😉
@iippari7
11 ай бұрын
@@dreamsofcode You could, of course, write the front-end in Rust with something like Leptos ;)
@Dmitri_Ivanovich
10 ай бұрын
Interesting how your deployment error is exactly the same as what they have on their marketing website. The AI thing is just a gimmick, isn't it?
@dreamsofcode
10 ай бұрын
I think they took it from my video 🤣.
@codingdestro
8 ай бұрын
bro i'm waiting for next video in flutter setup on nvchad please make make make .......!!!!!
@dreamsofcode
8 ай бұрын
Deal. I've added it as the next one in the series.
@thegrumpydeveloper
10 ай бұрын
Learnt more about rust here than so many other “intro” to rust.
@abplayzz
11 ай бұрын
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
11 ай бұрын
This is MacOS…
@abplayzz
11 ай бұрын
@@FarhadOmid it's not, it's Arch Linux.
@dargkkast6469
11 ай бұрын
@@abplayzzthose windows look just like in MacOS tho
@@dargkkast6469 I am wondering how does he minimize those windows, there's literally just one button on the window bar...
@Kiba114
10 ай бұрын
blessed to not be a rust develooer every day, this shit looks horrible
@naptimusnapolyus1227
11 ай бұрын
bro can spawn code out of nowhere 💀
@kodosunofficial
3 ай бұрын
Would love to see template engine and htmx integration
@gaxkiller
11 ай бұрын
Who the fk put python that high in language they love???
@richardlyon67
3 ай бұрын
Fl0 silently fails on sign-up request.
@MegaPacoquinha
11 ай бұрын
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
@AnthonyBullard
10 ай бұрын
I will be trying out your sponsor for my new app real soon
@thedelanyo
11 ай бұрын
Mine could be Zig, Sveltekit, supabase
@wondays654
11 ай бұрын
I like zig but the documentation of the standard library is horrible. Better documentation imo would make it more attractive.
@leonardeuler4
11 ай бұрын
CRUD in language with possible use after free? No way
@swoopertr
10 ай бұрын
This is insane. everthing is in one. Keep up the good work.
@colbyberger1881
11 ай бұрын
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
11 ай бұрын
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!
@lagcisco
11 ай бұрын
densely packed with knowledge and great pacing of the video
@danielbolivar9134
11 ай бұрын
Loved the foundation reference! Such a great book and loving the series
@dreamsofcode
11 ай бұрын
It's so good!
@codeman99-dev
11 ай бұрын
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!)
@AnnasVirtual
9 ай бұрын
look at the c# behind rust mmmm i love it
@eddebrock
11 ай бұрын
HOLD ON!! You can make the sub button RGB for the push? What sorcery is this??
@popplestones886
11 ай бұрын
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?
@adworksout7
10 ай бұрын
Elixer never heard of it till this point
@lebahsaham9947
10 ай бұрын
nice video editing... i want all udemy video like this!!!!!!!
@dreamsofcode
10 ай бұрын
Thank you! I'm working on my own courses in the future. Is there one you'd like to see in particular?
@raduking
7 ай бұрын
Gotta love SQL injection ;)
@autohmae
10 ай бұрын
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 ?
@DeviantFox
9 ай бұрын
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.
@lucasvieira6783
11 ай бұрын
Hi, you could do a video that goes through all the process of arch linux installation with your setup?
@Andre-z2v
11 ай бұрын
You may be deceived if you trust too much, but you will live in torment if you don't trust enough.
@Augustine_354
10 ай бұрын
Axum with sqlx is my currently favourite tech stack as 4 now.
@Debby-z3r
11 ай бұрын
Time changes everything except something within us which is always surprised by change.
@RyanBreaker
10 ай бұрын
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`.
@dreamsofcode
10 ай бұрын
Good catch!
@nothiiiiiiiing
11 ай бұрын
:)
@rafaelgomes3054
11 ай бұрын
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
11 ай бұрын
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!
@3luizcunha
9 ай бұрын
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
9 ай бұрын
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 😁
@LinuxForLife
11 ай бұрын
. Nice! But I think you miss the cargo watch, to automatically build and run you code. 😉 Anyway, good video as always. 👍
@oz4549
10 ай бұрын
I subbed. I'm waiting for that video 😂
@brencancer
11 ай бұрын
what is the plugin for toml to know latest version? thank you for the content 🤙
@scaffus
11 ай бұрын
Love your work!
@dreamsofcode
11 ай бұрын
Thank you so much! I appreciate your support a lot!
@yos2413
11 ай бұрын
thanks
@mr.togrul--9383
11 ай бұрын
congratz on 50K subs, soon it will be 100K, your content is good and insightful
@Dev-Siri
11 ай бұрын
lets get him to 75k boys! we forcing him to try out the dreaded.
@acloudmonk
11 ай бұрын
cool. keep learning and keep growing :)
@JarppaGuru
11 ай бұрын
2:16 yes gotcha. you give your fiules to someone else computer free
@krtirtho
10 ай бұрын
Gigachads uses the most hated stack in production
@adrymateoramon7087
7 ай бұрын
12:50 ❣❣❣❣❣❣❣❣
@bashtinator
10 ай бұрын
I'd love to see more production-"ready" content and more Rust backends.
@Kama-n8n
11 ай бұрын
The path to success is to take massive, determined action.
@ms77grz
10 ай бұрын
👍👍
@polyglotusamericanus4163
11 ай бұрын
Loved the Foundation reference. Great book!
@adamszalkowski8226
11 ай бұрын
Why are you including a whole Rust toolchain in the deployed container?
@dreamsofcode
11 ай бұрын
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.
@AdityaSinha-k5m
10 ай бұрын
What editor are using?
@weeb0.
10 ай бұрын
For the update handler, shouldn't it be sensible to use PATCH instead of PUT?
@weeb0.
10 ай бұрын
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
10 ай бұрын
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.
@mantra578
11 ай бұрын
Your channel is amazing, Please keep up this great work
Пікірлер: 217