Hey Lama if you are reading this , I just want to say thank you , I'm from very poor family trying to learn from your channel,I will definitely pay you when I get the job...Thanks you again
Just in Time i just finished The full stack blog website and now this. thank you, i can't thank you enough. please provide us with more tutorials like this i really enjoy and learn from them.
i have a problem with storing the token in the cookie, i have done all the steps but i didn't get any token did you get such a problem working on the blog project ?
This is amazing Lama. You've been my best teacher I've got to be honest. Thank you for all you do and keep doing. On the next project pls, could we build a logistics web app, one where we could ship items across borders and the calculate the distances by zipcodes of the origin and destination of the product being shipped, also taking into account if it's a ground shipping or sea shipping and the parameters that are important for either of such shipping methods when calculating an estimated shipping fee. That's something I haven't seen anywhere on the internet yet. And I would love to see possible ideas that could help me build a start up logistics company. Thanks once more Lama.
A perfect tutorial. Perfect way of teaching and explaining things. I already had SQL knowledge so I didn't get much problems in understanding the logics. Can't to wait to do experiments with it and complete it's features. My main goal to watch this tutorial was to understand the backend logic as UI is not a big deal. And I got it. In addition to that, I learned the advance folder structures and overall project organizing. This tutorial has helped me in many ways. Thank you so much bro. Please keep blessing us with such beautiful contents 💕🔥.
I've never seen a youtube channel as helpful as you. You are making excellent tutorials even that cannot be found in paid courses. I'll be following you, keep going on dude!
One issue I came across was using useQuery for the components like Comments & Post that are rendered multiple times in our app and almost spent an entire day banging my head over it. I thought others might as well come across. when we use 'useQuery' in a component that is rendered multiple times, we are passing a queryKey (eg. ['comments']) to the useQuery hook which essentially becomes the same for all the Comments components that are rendered all over the application. It is evident whenever we keep a comment box open for one post and then open second post's comment box, the first post's comments are changed with the second post's. My theory is that queryKey is essentially the same for all the comments components. So it has an effect on all the components. Making the queryKey unique for each component by appending the postId to the key(so that every queryKey will be different for different post's comments) did the trick for me. eg. useQuery(["comments" + postId] , fetchFn ); I don't know if there is any other way to resolve this conflict. All the other suggesstions are welcome as well, I would appreciate the feedback too.
Want to say thank you very much for your projects! Personally, I work with typescript and also can't implement everything in your way , but I still learn a lot from you and regardless, I just enjoy working with you! I would like you to prepare some project with redux toolkit. I personally really need it. Thanks a lot once again! You are great!
I don't only like your videos, I love it. Your video is essential for developers as water is essential for human body. Thank you so much Lamadev. More power to your elbow. Love you!
Calmness in teaching gives the audience a sense of ease. Your work, your teaching method is very first class. I thank you for your useful and smooth training . (Translated by Google Translate)
Chat app video watched , Watched this video part 1 and now started part 2 , will combine them all to make a great project Inshallah , great channel , Permanent Subscriber 😍
Hey sir .. really thanks for the video and for the opportunity you keep giving to your community through the knowledge you keep sharing. Please teach us how to safely deploy all this projects . The aime for us should not be only to create but also to share links and have good portfolio's
I did the introduction video where we create a book store and I just finished doing this one and I'm learning a lot about this stack. Please make more videos on Nodejs + Mysql
We thank you for your efforts to bring us useful projects with simple explanation absolutely for free. It will be awesome if you can create a project with referral system functionality. Because I have never seen it on RU-vid. Thank you God bless you
Please bring the next part of this video... that's the complete social media application with all functionalities enabled. It was really a nice tutorial.
Lama, I just want to say that I love you and your content😍. You explain everything very easily and understandably. If I get the job, I will let you know (comment on it) in one of your videos.
Thanks for this project tutorials,I really appreciate it!!! And also,I've had some error while coding and these are how I solved them. Hope this help guys XD ***Error: { "code": "PROTOCOL_ENQUEUE_AFTER_FATAL_ERROR", "fatal": false } ->Fix: run again index.js (api> node index.js) and then try again ***Error: ER_NOT_SUPPORTED_AUTH_MODE in MyQSL -> Fix: in query,insert this code: ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password BY 'password'; (change ur 'password' now to another,Ex:123 to 456) And then fix this new password in connect.js ***Error: - Blank page when try to login fail( json undentified) ->Fix: try replace this code const [currentUser, setCurrentUser] = useState(() => { const storedUser = localStorage.getItem("user"); if (storedUser) { try { return JSON.parse(storedUser); } catch (error) { console.error("Error:", error); } } return null; }); ***Error: - Timeout reached in Insomnia -> Fix: check the correct link post,typo columns in MySQL,link in those event const handleRegister,... This error happens when something is wrong,so u have to check all ***Error: - Already accepted access for cors but still didn't work ->Fix: run again index.js (api> node index.js) and then try again ***Error: - localhost:8000/api/posts/ 500 (Internal Server Error) ->Fix: Change the code in post.js into export const getPosts=(req,res)=>{ const q= `SELECT p.*, u.id AS userID, u.name, u.profilePic FROM posts AS p JOIN users AS u ON u.id = p.userID` db.query(q,(err,data)=>{ if(err)return res.status(500).json(err); return res.status(200).json(data); }) } *This error happened when u had something in code got wrong,check around the place u last did *Remember to change the correct column of ur db *After changed it,run again api (api> node index.js) ***My Stupid Error (XD) : - return ( {error ? "Error!" : isPending ? "Loading..." : data.map((post) => )} ); when realse this code,some of the object doesn't appear on the main website -> Fix: Go to post.js in client change name of those objects equal to columns in MySQL EX: {post.postDesc} means there's a column name "postDesc" in ur posts db ***Error: - This.client.defaultMutationOptions is not a function react-query, pocketbase, nextjs -> Fix: Change Mutation code (lastest v5 for this time ) const mutation = useMutation({ mutationFn: (newPost) => { return makeRequest.post("/posts", newPost); }, onSuccess: () => { // Invalidate and refetch queryClient.invalidateQueries({ queryKey: ['[posts]'] }); }, }); ***Error: - Still error "Can't read properties of underfined(reading'map") after solved like in the video -> Fix: run again api ***Error: -Cannot read properties of undefined (reading 'includes' or 'length') at Post (localhost:3000/static/js/bundle.js:1294:27) -> Fix: Change code to this {isLoading ? ( "loading" ) : data?.includes(currentUser.id) ? ( ) : ( )} {data?.length} Likes ***Error: - 404 Not found -> Fix: check again those func such as Mutation,handle,upload,... Some place will be wrong when typing. Ex: makeRequest.post instead of put
Hello Lama, You are providing such a beautiful and understandable content for free but I have one doubt can you tell me how you decide combination of color palettes and font ? Lots of love Lama ❤️❤️
So I have added the following features to this app : Users can now post videos as well cuz I'm checking whether the file contains picture extension or video so I'm rendering the file on the basis of that!!! I have added the real friends list on the right bar. I mean your real friends who you follow will be appeared on the right bar just like facebook! User profile is more advanced! user can write his custom bio, there are some stats like followers and following. Just like Instagram. I have add relationship status, work and hobby sections etc in profile page. And the biggest feature I have added is that user can now save the posts. There's a separate save posts section were user can see his saved posts. I need more suggestions and currently I'm thinking about stories section!
I am grateful for all your work. Can you make a tutorial on searching a large amount of data(say like 1 million) in mysql db in an efficient way without waiting too much (say getting the result in milli seconds)?
@@user-ms2jf1eg3j but generaly projects like facebook or Instagram, they use big data database. Which requires at least 1 tb of ram, they store data to ram just incase if data reused again.
@@user-ms2jf1eg3j bc it is more easy, and has more flexibility, it is hard to make it crash, but in postgre it is more likely to crash if you do not use redis to handle stack queries. So simply, it is easy to use. But slower.
Thanks a lot for this. For some reason, on my Mac, invalidateQueries is working ok in Chrome but not in Safari. It only updates when you change to another tab/window and come back. In Chrome everything runs ok with zero errors in client and server's consoles
Hi Lama ! First of all thanks for the great content ! It's a great to have such good content for free !🎉 I have followed your previous video about the UI part and I was wondering : can i follow this video to do the server / api / db part with sql and express while using next page for the routing and pre rendering ? Thanks in advance ! Cheers :)
Hey lamadev, I would like to make a request. Would you please make a short video about nodejs on how we can store images to aws S3 bucket and the image url to MySQL database. Thankyou
very good course thank you I learnt a lot with it, please do you have one similar video where you make frontend and backend with Nodejs with jsonwebtoken but with mongoDB?
Hello, I'm following your tutorial and I don't know why I'm not having the cookie after login. I tried with 3 browsers. I have a cookie only with insomnia.
Can you implement more features into this app, whatever is mentioned on the left menu bar... groups, marketplace, memories, events, gaming, videos, etc
I do not know, if you saw my comment on previous video. But can you add additional feature to social app with users tiers and subscriptions. Like onlyfans or Patreon do?
Is socket io is implemented in this project to connect different browsers as different users and chat . I want to build the same app with chat functionality.
Hi Lama! Excellent content! I'm leaning React and I have a question about this tutorial. When I open a first Comments section all the comments related to the post show successfully. But, if that first Comments section remains open and then I open another Comments section from a different post, the comments inside both posts duplicates, and at the end both posts display the same comments, that is, the comments of the last Comments section opened. What could it be? Would you please check out what's going on?