This channel should be awarded with honour for what they have been doing for the society ❤️
@Josh-qb4em Жыл бұрын
I have this issue when watching tutorial videos like this where if the instructor makes a typo or something, I'll be hyper-fixated on it until it gets acknowledged. Anything said/taught between the time of the typo and the time of acknowledgment goes in one ear and out the other. So the fact that you did those little popups immediately acknowledging it was wonderful.
@kabylekabyle92503 жыл бұрын
Hello! thanks you sir carnes FCC, thanks all of you guys to help us.
@jeanleloup22053 жыл бұрын
MongoDB not graphql - Thank you for this refreshing turtorial
@martynbirdem1893 жыл бұрын
kzbin.info/www/bejne/iWapq42Gpdahmrs Javascript tutorial easy example kzbin.info/www/bejne/rZK7n513eap4d8k
@surayuthpintawong83322 жыл бұрын
Thanks, I can finally see the big picture how each component (FastAPI, React, MongoDB) connects togther!
@nyashachiroro25313 жыл бұрын
I love this stack
@marcscherzer3 жыл бұрын
Didn't know FARM stack existed ...
@erickheredia89103 жыл бұрын
Next Stack: NUTS (Nuxtjs, TailwindCSS, Supabase). Mark my words!
@martynbirdem1893 жыл бұрын
kzbin.info/www/bejne/iWapq42Gpdahmrs Javascript tutorial easy example kzbin.info/www/bejne/rZK7n513eap4d8k
@frackinfamous6126 Жыл бұрын
Don’t you mean get on your NUTS? 😂
@aivkhairulamirin90048 күн бұрын
TQ for teaching us with this good video. Easy to understand
@frosty76743 жыл бұрын
First, Edit: tomorrow's my exam and these pple posting one after other videos, cool videos
@BekBrace3 жыл бұрын
Thank you 🙏
@JnrAUS63 жыл бұрын
First, and also fast api is really good!
@peterkulik59433 жыл бұрын
0:02 "The FARM stack is FastAPI, React and GraphQL." I went through this video, but I didn't find any other reference to GraphQL
@martynbirdem1893 жыл бұрын
kzbin.info/www/bejne/iWapq42Gpdahmrs Javascript tutorial easy example kzbin.info/www/bejne/rZK7n513eap4d8k
@aureli4nus3 жыл бұрын
probably just a miss on their side, it shouldbe MongoDB not GraphQL
@robertmazurowski5974 Жыл бұрын
These 3 letter acronyms don't make sense anymore, and most of them wont sound good, or be memorable.
@piyushmahapatra64053 жыл бұрын
Waiting for some database to start with T to make it " FART Stack " Sorry for that joke :( Appreciate the Content
@sircosm3 жыл бұрын
There's Teradata and Tibero for farts ;)
@allthecommonsense3 жыл бұрын
lol
@EveRestUpsb3 жыл бұрын
FastAPI, React and Typescript!
@mayankrai1653 жыл бұрын
Love the channel ❤️ such great content
@Miho_139 ай бұрын
Very good introduction , thank you !
@naveens957511 ай бұрын
That was an awesome short tutorial on farm stack✌
@BRISKLYHIDDEN3 жыл бұрын
GREAT JOB! Thank You, Bek !
@BekBrace3 жыл бұрын
Thank you, Kratos :)
@sahriar.shourov3 жыл бұрын
Thanks!
@cybr7743 жыл бұрын
I'm somehow not able to delete the todos. Every time I press the button that removes the todo, in the console I get the following error: "Failed to load resource: the server responded with a status of 404 (Not Found)". The thing is that the uri is correct, but it somehow gives me that error. From the swagger UI it works fine, but it doesn't from the frontend. Any tips on what can be done to resole this issue? I'd appreciate it! Edit: I actually found the problem! If anyone is encountering the same problem, it's that in the file Todo.js, in the deleteTodoHandler, the uri is wrong (in the frontend , Bek Brace used this uri "localhost:8000/api/todo/${title}", while the API responds to "localhost:8000/api/todo${title}" and the difference is the / that shouldn't be there to match the uri to the API).
@astronemir2 жыл бұрын
Can’t believe this is free. People charge hundreds for such lessons split into a bunch of short form videos.
@mahendranath250410 ай бұрын
Wow, thank you so much for sharing the knowledge 🫡🙏👍😊
@mareboinaravi52723 жыл бұрын
❤️❤️MERN is love❤️❤️
@satyasridevi8513 жыл бұрын
I just saw this stack in mongodb channel live
@satyasridevi8513 жыл бұрын
@c_a yes kzbin.info
@luisdato1712 Жыл бұрын
26:12 Why do you use await? I tried to run program without await but it also runs nomarlly.
@Faybmi6 ай бұрын
40:12 if you don't have todo in mongo, try post method in docs
@laracombina8 ай бұрын
this was really helpful, thank you!!
@sathyapriya39993 жыл бұрын
Hi sir I just joined this channel .very usefull to my software study
@BekBrace3 жыл бұрын
Great
@123arskas Жыл бұрын
Thank you so much for this. Now I can dive deeply into the FARM stack
@webcodingoprogrammingtips20903 жыл бұрын
LAMP, MEAN, MERN, FARM - what is the next stack? :)
@Filiq.3 жыл бұрын
MEVN, PERN, WISA xD
@satyasridevi8513 жыл бұрын
You missed MEVN
@ac130kz3 жыл бұрын
RUSP - Rust Svelte Postgres
@rustamshrestha43 жыл бұрын
JAM stack JS, Api & -MongoDB- * Markup * 😂
@danielibanez18553 жыл бұрын
How about FAVM?
@mauricefakhry80393 жыл бұрын
Great tutorial !!
@martynbirdem1893 жыл бұрын
kzbin.info/www/bejne/iWapq42Gpdahmrs Javascript tutorial easy example kzbin.info/www/bejne/rZK7n513eap4d8k
@kenfeier55423 жыл бұрын
For those that don't know Python, this can also be done using NodeJS, Express, and Mongoose. You can create a schema and set routers that can generate simple CRUD API calls in a very similar way as the FastAPI.
@revernd2491 Жыл бұрын
ofc, but that defeats the very purpose of this course
@MehulBhuradia Жыл бұрын
How do we dockerize this stack?
@dajlefromcb Жыл бұрын
If you are using Python 3.11, you have to use motor == 3.1.1 dependency.
@himanshusharma-ve7uj2 жыл бұрын
I am facing pydantic.error_wrappers.ValidationError: 1 validation error for Todo response value is not a valid dict (type=type_error.dict) , While calling post method response = await create_todo(todo.dict()) . Please can you help in this.
@bohdan1342 жыл бұрын
At database.py you need to change return of create_todo function to "document", not "result" value.
@robertmazurowski5974 Жыл бұрын
@@bohdan134 In the video he said that was a mistake. He should correct somewhere or do an annotation.
@robertmazurowski5974 Жыл бұрын
@@bohdan134 And because of that error I discovered I can put multiple Duplicate titles. is there a primary key in Mongo DB
@narutokun50933 жыл бұрын
Thank you for such great videos , great work
@alpha3twin2 жыл бұрын
Why start with todo ids when defining routes and then switch to using titles as identifiers?
@munchabel Жыл бұрын
That's a great point. Using title as an identifier is bad practice. What if you have duplicate titles, for example? Stick to the todo id, which is always unique!
@rangabharath42533 жыл бұрын
Awesome 👍😎
@raphael64413 жыл бұрын
Thank you so much for this tutorial. I'm just wondering how and how often the data are refreshed ? The backend seem to have a lot of requests in my implementation.
@rice58172 жыл бұрын
Does the official docs not mention anything about that?
@himanshchauhan428711 ай бұрын
@@rice5817 yes i was facing the same problem because there is no dependency on which the state should change that is why we get that endless api calls in terminal. Solution-> create a new usestate key with initial value set to 0.Then in useeffect just add 1 in old key const [refreshKey, setRefreshKey] = useState(0); useEffect(() => { axios.get('localhost:5007/fetch_all_todo') .then(res => { setTodoList(res.data) }) }, [refreshKey]); const addTodoHandler = (id,title,desc) => { axios.post('localhost:5007/create_todo', { 'id': id, 'title': title, 'description': desc }) .then(res => setRefreshKey(oldKey => oldKey +1))
@tyronefrielinghaus3467 Жыл бұрын
great : and you have a good , easy to follow voice. Some FCC courses have AWFUL voices , super hard to listen to for long....high extrinsic cognitive load imposed!
@nikolaikletnoi93463 жыл бұрын
This is a great guide!! Everything works really well and relative to other frameworks it is super-easy to learn and use; i was wondering if you could please show how to connect to mongodb proper ( in the cloud); i have tried a few things but somehow, something was off; it would be nice to connect to cloud, not just on-prem; thanks so much!!
@b20lopez2 жыл бұрын
use Pymongo
@sachinsudaraka63973 жыл бұрын
Thanks
@BayarUdval3 жыл бұрын
Nicely done, :)
@leepham7782 Жыл бұрын
So I'm trying to follow along with this tutorial, but when I run both front and backend, once my react page loads, it continuously makes calls and doesnt stop. I also am unable to delete or create tasks. Does someone have a repo of this project I can check out?
@samalexkoshy2877 Жыл бұрын
It's the onChange that makes the call continuously for me. As for the deletion and creation of tasks, even I'm facing the same issue. An empty task is being displayed for me
@horizons42253 жыл бұрын
thank you
@himanshchauhan4287 Жыл бұрын
Hi im having trouble. axios keeps calling backend api when fetching all todos in useeffect part. Is this expected?
@coleblender19982 жыл бұрын
At 40:17 my database did not connect to the compass. I even replaced all of my code with the one in the repo and it still didn't work. Does anyone know what the problem could be?
@dwein0082 жыл бұрын
I think, i have the same problem, for me it works when i do close vs code and open again and do the post method.
@XShollaj2 жыл бұрын
Execute the post method after the connection- that triggers the automatic creation of the TodoList database (since we already have established the connection)
@michaelshort23882 жыл бұрын
when creating a post I get the error "object has no attribute 'dict'
@coleblender19982 жыл бұрын
Where is the video to set up the paths?
@michaeljayarizala93053 жыл бұрын
Great tutorial very easy to follow along! Do you have any suggestion for an ideal approach to adding user authentication in FastAPI i.e. recommended authentication library we can use that allows pbkdf2 or ssha encryption as well as generating session tokens?
@BekBrace3 жыл бұрын
Thank you, Michael - glad to hear :) I have a tutorial for user authentication with FastAPI and JSON Web Tokens - maybe this can help you : kzbin.info/www/bejne/ZpDWloF8eNmaos0
@sarthakgautam803510 ай бұрын
I am not able to import motor package .... tried upgrading all packages also still the same problem is there
@esmailalmoshki9 ай бұрын
most likely it is a python-version-related problem
@martinmiz8 ай бұрын
It's probably an issue with how you setup your virtual environment and if you are using VS Code, you need to check and see that you're using the correct interpreter that matches with your current venv file. You can press Ctrl+Shift+P and select "Python: Select Interpreter". Choose the one with (venv) or having "Recommended". You may need to restart your VSCode window sometimes.
@Shou063 жыл бұрын
It would be great if there will be a course on deployment an web app
@xokyle3 жыл бұрын
Why do you prefer NPM over YARN?
@mdabirkhan11033 жыл бұрын
Woow🥰🥰🥰
@moazim19932 жыл бұрын
what's he using to run Linux terminal on windows?
@slothpete7773issleeping3 жыл бұрын
I clicked on this video because the stack name sounds interesting.
@mrrishiraj883 жыл бұрын
👍
@timbrap4693 Жыл бұрын
Is this serverside rendering or clientside rendering?
@astronemir2 жыл бұрын
I could feel the lag after 45:00 in real life
@TheHummChannel3 жыл бұрын
Why did not you use Moralis Serverless?
@BlakeTedKord3 жыл бұрын
FCC Team - Will there be a complete class with more courses in a playlist on the topics of computer vision/Neural network and CISSP and SEC+? I’m sure a lot of people here would look forward to that.
@martynbirdem1893 жыл бұрын
kzbin.info/www/bejne/iWapq42Gpdahmrs Javascript tutorial easy example kzbin.info/www/bejne/rZK7n513eap4d8k
@atomicbreath43602 жыл бұрын
Can anyone help me how to upload file in FARM stack
@sukantagarwal68243 жыл бұрын
Hi, can you provide the link for fast api course in comments?
@TR1ckY_TV3 жыл бұрын
there you go Bro kzbin.info/www/bejne/bGPTgWymm9-BiNU
@sukantagarwal68243 жыл бұрын
@@TR1ckY_TV thanks bro!
@kz_cbble96709 ай бұрын
24:00 33:00
@rohitkumarb.r38659 ай бұрын
What about update?
@kartyk7415 Жыл бұрын
Superb tutorial I also had the same problem in VS code so i used PyCharm😁😁😁😁
@danielibanez18553 жыл бұрын
How common would a FAVM stack be? 🤔
@BekBrace3 жыл бұрын
I'd love to recreate this with Vue.js someday
@athulkrishnadiyil17353 жыл бұрын
how to use gridfs/imageupload with fastapi motor
@fumano2679 Жыл бұрын
Im using angular as frontend but i really liked the backend part
@ketchupparty99973 жыл бұрын
A course on Three.js please
@martynbirdem1893 жыл бұрын
kzbin.info/www/bejne/iWapq42Gpdahmrs Javascript tutorial easy example kzbin.info/www/bejne/rZK7n513eap4d8k
@City__Walker2 жыл бұрын
Ehh enterprise not use mongo :( I need FARP Postrges variant
@amirbraham65073 жыл бұрын
How would you go about deploying it on heroku for example ? Do you host two separate apps and hard code your backend url instead of localhost:3000 ? Thanks in advance
@ananthvankipuram40123 жыл бұрын
FARM stack is proudly sponsored by the exceptional Farmers over at Ligue1! Jokes apart, at this rate we have MERN, PERN, NERN(Next) and we will have JS Fatigue all over again. LOL
@yashvarshney67613 жыл бұрын
How to deploy this?
@tranquillityEnthusiast3 жыл бұрын
Need a mean stack full course..
@tr.j40793 жыл бұрын
Can we have a FARM with Fastify?
@nonameiskickass13193 жыл бұрын
Who wants LAME stack next ?
@rustamshrestha43 жыл бұрын
Linux Apache MongoDB Elixir 😂
@leewseea3 жыл бұрын
I thought u have some really cool mouse pointer afterimage effects, but it was just the video lagging XD
@BekBrace3 жыл бұрын
Yes, I apologize for that, it also bothered me when I was done recording
@МатвейВолков-ы8р3 жыл бұрын
when will be java backend tutorial?
@МатвейВолков-ы8р3 жыл бұрын
Please
@robertmazurowski5974 Жыл бұрын
In Poland it is AŻUR not aizure
@atefe39192 жыл бұрын
Hi thank you for an amazing tutorial. I can not find the FastApi course, would you share the link?
@florijnterstal65903 жыл бұрын
Nice.. now make the right tutorial... FastApi, Vuejs and PostgreSQL
@liriani2 жыл бұрын
32:45
@manliomarchica49113 жыл бұрын
I see in the console of the browser that // Read all todos useEffect(() => { axios.get('localhost:8000/api/todo') .then(res => { setTodoList(res.data) }) }); generate and infinite call to get todos as the component App was continuosly rendered. I add [] as second parameter of useEffect to call it once and change the add handler to update the state, further I move the delete hanlder in the App.js and pass the reference deep in the child component, also in the delete handler I have to update the state // Post a todo const addTodoHandler = () => { axios.post('localhost:8000/api/todo/', { 'title': title, 'description': desc }) .then(res => { console.log(res); const newTodoList = [...todoList]; newTodoList.push(res.data); setTodoList(newTodoList); }); } const deleteTodoHandler = (title) => { const encoded = encodeURI(`localhost:8000/api/todo/${title}`); axios.delete(encoded) .then(res => { console.log(res.data) const newTodoList = todoList.filter(item => item.title !== title); setTodoList(newTodoList); }); };
@isaacafara58113 жыл бұрын
Thanks Manlio, nice update to this great video. Quick question: how did you pass the reference after moving "deleteTodoHandler" tp App.js? Can you please show example?
@danielleivy8180 Жыл бұрын
@@isaacafara5811 useEffect(() => { readTodosHandler() }, [todoList]) This will watch when todoList changes (I didn't have to move the delete function). Also it's a good idea to extract the useEffect axios call into it's own function.
@raminatox Жыл бұрын
The web dev had a FARM, E-I-E-I-O...
@satyasridevi8513 жыл бұрын
Is FastAPI python framework?
@dragonarch03 жыл бұрын
Yup
@utkarshbansal27583 жыл бұрын
pls make a course on ios development using swiftui
@martynbirdem1893 жыл бұрын
kzbin.info/www/bejne/iWapq42Gpdahmrs Javascript tutorial easy example kzbin.info/www/bejne/rZK7n513eap4d8k
@komandan68683 жыл бұрын
Bro tutoriall full video python androidhelper... Plsee bro🙏🙏
@jon7035 Жыл бұрын
Now we need something a T so we can have a FART Stack
@jon7035 Жыл бұрын
FastAPI React TErraform DynamoDB - FARTED
@yinghouwang8 ай бұрын
Save my life!!!!
@Deiwulf3 жыл бұрын
666.. that's bound to be some sort of a sign
@oussamanidhalbelhadjhammou6433 жыл бұрын
kzbin.info/www/bejne/nnOYfnqLpc-fn5Y
@b20lopez2 жыл бұрын
Could you please do a video on how to deploy this to Google cloud? or firebase? or any hosting?