Full Stack MERN Todo App with MongoDB, React, Express, Node | Responsive + Deployment + Full Notes

  Рет қаралды 21,916

GiraffeReactor

GiraffeReactor

Күн бұрын

Пікірлер: 99
@GiraffeReactor
@GiraffeReactor 7 ай бұрын
Hi, everyone. I just published a very big video 9+ hours on the Auth.js (next-auth) library. If you are interested please check it out: kzbin.info/www/bejne/n2fbgHeVhNZ4mqssi=jxQ5_5Vdaz5OZ9Vk
@traezeeofor
@traezeeofor 10 ай бұрын
I can see you're an advanced learner still hunting for his first major gig, yet you put so much into making this tutorial. Awesome work man. Well done!
@GiraffeReactor
@GiraffeReactor 10 ай бұрын
Appreciate the comment, thank you!
@sanjanaj6542
@sanjanaj6542 3 ай бұрын
This was one of the best tutorials I've come across after months. I tried my hand at a few projects but they were so poorly explained I couldn't learn much. The simplicity of this is what made it great. This was really helpful, Thank You.
@GiraffeReactor
@GiraffeReactor 3 ай бұрын
@@sanjanaj6542 thank you ^^ slowly working on a 2024 version of this course feel free to check it out when it comes out
@IsmaOnYouTube
@IsmaOnYouTube 7 ай бұрын
Awesome video! Really helpful for a beginner, hope you continue with this great work 👏
@GiraffeReactor
@GiraffeReactor 7 ай бұрын
Appreciate the comment thank you for watching!
@IgorOdaryuk
@IgorOdaryuk 5 ай бұрын
I guess it's the best todo app that I can find on KZbin on this topic, thanks for sharing!
@GiraffeReactor
@GiraffeReactor 5 ай бұрын
Thank you means a lot!
@coreysantarossa3337
@coreysantarossa3337 7 ай бұрын
This was great!! Simple lessons are the ones that stick the best.
@GiraffeReactor
@GiraffeReactor 7 ай бұрын
Appreciate it hope to make more videos soon
@ZakariAdamu714
@ZakariAdamu714 3 ай бұрын
I just deployed my app and it's live on render. Thanks bro
@GiraffeReactor
@GiraffeReactor 3 ай бұрын
Good stuff, thanks for watching
@zakariadamu9345
@zakariadamu9345 3 ай бұрын
@@GiraffeReactor but it seems render can be very slow at loading web apps, am gonna try Vercel hosting and see the difference
@saurabhdaswant7833
@saurabhdaswant7833 7 ай бұрын
very nice video bro very well documented on notion aswell learned many new things on the backend side thank you so much ❤
@GiraffeReactor
@GiraffeReactor 7 ай бұрын
Appreciate it!
@HemanthKumar-i9k
@HemanthKumar-i9k 7 ай бұрын
Hey bro did you complete the whole tutorial , I just wanted to know if the todo list is working perfectly fine and this video is a total worth !! Please reply @saurabhdaswant7833
@saurabhdaswant7833
@saurabhdaswant7833 7 ай бұрын
​@@HemanthKumar-i9k its does work perfectly fine , side by side you can follow his notion notes aswell
@Shamsham-jw8ej
@Shamsham-jw8ej 4 ай бұрын
we need more projects like this👌
@GiraffeReactor
@GiraffeReactor 4 ай бұрын
Thanks I have big AuthJS tutorial coming out next week, and I'm working on a 2024 version of this video feel free to check it out
@sfayzer
@sfayzer 7 ай бұрын
When did you say there is an easier way to do it? If you could share it with us, thank you for the very simplistic guide. I really watch every single MERN video. You are the best! Keep going.
@GiraffeReactor
@GiraffeReactor 7 ай бұрын
Which part are you talking about specifically? Also thank you for the comment
@soumelee5661
@soumelee5661 7 ай бұрын
the notion guide is really really helpful. Amazing 👏👏👏👏👏
@GiraffeReactor
@GiraffeReactor 7 ай бұрын
It was tedious to make but I am super glad it was helpful to you, thank you for watching!
@sophiagalriado8350
@sophiagalriado8350 5 ай бұрын
Thank you for this tutorial, I really love how you explain it so easy to understand. Well done! I hope you continue what your doing, more power to you!
@GiraffeReactor
@GiraffeReactor 5 ай бұрын
Thank you for the comment I'm working on new videos including a version 2 of this video but been a little busy lately hopefully I can get them out soon thanks for watching!
@chrisjordan5849
@chrisjordan5849 4 ай бұрын
Thanks i learnt backend deployment because of you really helpful
@GiraffeReactor
@GiraffeReactor 4 ай бұрын
Thank you for the comment, helps keep me going during the demotivating job hunt that im on!
@ankitsaurabh8158
@ankitsaurabh8158 7 ай бұрын
If anyone still facing issue like above at 34:00 then I have a simple solution, in your command line go to server location and type npm install cors, then in index.js of server folder type , const cors = require('cors') in above 3-4 line and then below that type app.use(cors()), and run the server
@GiraffeReactor
@GiraffeReactor 7 ай бұрын
Thank you for the potential fix. Yes the cors package will work in this case, I was just worried if it would affect the deployment step but someone can let me know about that.
@ankitsaurabh8158
@ankitsaurabh8158 7 ай бұрын
@@GiraffeReactor works perfectly fine in deployment too, so we can use this
@mc_sword299
@mc_sword299 4 ай бұрын
bro ı couldn't fix that this way. is there anyway to fix that?
@sachstar7306
@sachstar7306 5 ай бұрын
great would like to see more videos in the future
@GiraffeReactor
@GiraffeReactor 5 ай бұрын
appreciate you, have two big videos in the queue
@SalmanJan2574
@SalmanJan2574 5 ай бұрын
Amazing tutorial, Lots of learning! Thank you brother!
@GiraffeReactor
@GiraffeReactor 5 ай бұрын
Thanks!
@Pure_Islamic_Teachings
@Pure_Islamic_Teachings 3 ай бұрын
nice tut, subscribed! just a quick question, why did you specify or downgrade your Node version on deployment??
@GiraffeReactor
@GiraffeReactor 3 ай бұрын
Thank you for the comment, its been a while so I dont really remember but I think it had something to do with MongoDB issues in deployment it might not be necessary now not sure
@Pure_Islamic_Teachings
@Pure_Islamic_Teachings 3 ай бұрын
@@GiraffeReactor Alright thanks
@vinayakhegde3068
@vinayakhegde3068 6 ай бұрын
Thanks man gonna recreate this with go fiber instead of express js 😃
@GiraffeReactor
@GiraffeReactor 6 ай бұрын
Sounds good haven't gotten a chance to try go myself but I've heard a lot of good things
@vinayakhegde3068
@vinayakhegde3068 6 ай бұрын
​​@@GiraffeReactor I would say the current go web frameworks are only worth it if you need to handle huge traffic for personal projects it's nothing as crazy as devs think btw did build the app took a while lol
@Ritzeeeee
@Ritzeeeee 2 ай бұрын
To anyone who is making this, this has only one database which is not created for each user separately, so the todo list becomes shared. Keep that in mind while making this. This is a good tutorial for clearing your coding concepts but if the todo app is not personalised then what is the benefit
@GiraffeReactor
@GiraffeReactor 2 ай бұрын
You're correct, it can still be used as a showcase for a portfolio. I did not add auth or personalized users to keep the tutorial less complex but I do plan on making videos in the future with authentication.
@Ritzeeeee
@Ritzeeeee 2 ай бұрын
@@GiraffeReactor Sir, if you are reading this, I would like to thank you from the bottom of my heart, for making such a good MERN intro video. If you can bring some other projects in the same format (which is live coding, debugging on the go) such as Blog app, Ecommerce website,etc it will blow up very hard as there is a big gap on youtube. Please do consider this opinion.
@trillakr2582
@trillakr2582 6 ай бұрын
Very well done!
@GiraffeReactor
@GiraffeReactor 4 ай бұрын
Thank you very much!
@kit25XD
@kit25XD 7 ай бұрын
Thank you very much. This tutorial is really helpful for me, but I can't get the state display under the title "Awesome Todos" after setting the proxy followed by your instructions. After web browsing, it may caused by the version of react. Maybe a separate setupProxy.js is needed for a newer version? I have stacked in these a few hours. Will you have any suggestions for me?
@destocot1729
@destocot1729 7 ай бұрын
in your browser console, see what kind of error is being logged. Try to make a test end point on your backend /test and see if you can reach it instead of using the proxy you can also try using the cors package (google npm cors) however, then the steps for deployment might be a little different
@bhavyachadha
@bhavyachadha 3 ай бұрын
Thank You!
@radosvetagalani2361
@radosvetagalani2361 9 ай бұрын
Thank you !
@GiraffeReactor
@GiraffeReactor 6 ай бұрын
your welcome!
@amiralimov7991
@amiralimov7991 11 ай бұрын
thank you for tutorial)
@GiraffeReactor
@GiraffeReactor 6 ай бұрын
your welcome!
@Prof_moriarity
@Prof_moriarity Жыл бұрын
Hey bro , what about heroku for deploying ?
@GiraffeReactor
@GiraffeReactor Жыл бұрын
I have never used heroku personally, I heard it no longer has a free tier so I never tried it out.
@AvikNayak_
@AvikNayak_ 6 ай бұрын
Also make the backend in drizzle and postgres sql
@GiraffeReactor
@GiraffeReactor 6 ай бұрын
I'm working on an Auth.js tutorial that uses drizzle and postgres hope to have it out soon.
@iftekharmd.shishir1696
@iftekharmd.shishir1696 9 ай бұрын
If I use Vite React... Will the app work just fine?
@GiraffeReactor
@GiraffeReactor 9 ай бұрын
It should work the same for 95% of the video I'm unsure about the deployment part, but I use vite only these days I only used CRA for fun.
@isarf69
@isarf69 7 ай бұрын
The best
@GiraffeReactor
@GiraffeReactor 6 ай бұрын
appreciate it!
@afzalhamdulay
@afzalhamdulay 9 ай бұрын
why do i have to to use mognodb atlas? isnt there any other way to store data? like cant i just create a local mongo database on my hosting?
@GiraffeReactor
@GiraffeReactor 9 ай бұрын
Yeah you can definitely just use a local instance, atlas is just really easy to work with (and its free) and if I had to switch computers I could continue to work, it'll also make deployment easier since I don't have to worry about the database as much.
@afzalhamdulay
@afzalhamdulay 9 ай бұрын
@@GiraffeReactor honestly i am really confused about the database a lot. i hope you can help me with this question. my question is: so while developing the project, we use localhost mongodb database. this is a simple todo app. so using mongo atlas is no no problem as it is free. but what if i have real website which i have to deploy on internet. i cannot use atlas because it is paid for commercial use as free version has some limits and it is made for learning purposes. but what if i dont want to pay? i want the data like username, email, or some data fetched from forms to store in my project folder in the form of database, can i do that way or we have to buy some database technology? or is there any other db technology like mysql which can give me the requirement that i am asking you?
@GiraffeReactor
@GiraffeReactor 9 ай бұрын
@@afzalhamdulay if you deploy it you cannot save it to file (at least as far as I know) You have to use a database or local storage (which is a temporary solution) Mongodb Atlas is very generous ive done much bigger projects without running out of space If you want to use something else there are some other free database Vercel has a free postgreSQL tier Render has a free postgreSQL tier You can also use backend services like Appwrite, Supabase, or firebase which also have databases you can use for free
@afzalhamdulay
@afzalhamdulay 9 ай бұрын
@@GiraffeReactor you used mongodb atlas free version for your real world live website?
@afzalhamdulay
@afzalhamdulay 9 ай бұрын
@@GiraffeReactor thankyou for replying. i will do some research on postgresql and figure out what i have to do. again thanks a lot for replying as not many people actually reply. 👍👍👍👍
@Ilab_basketball
@Ilab_basketball 6 ай бұрын
Can you make step by step video in react?
@GiraffeReactor
@GiraffeReactor 6 ай бұрын
What do you mean? This video features react
@vakkalankasandeep2484
@vakkalankasandeep2484 5 ай бұрын
all ok but update in crud means we should able to change the todo statement
@GiraffeReactor
@GiraffeReactor 5 ай бұрын
I totally understand what you mean but I decided to focus on just updating the the Todo status, I think it's a great exercise to edit the PATCH endpoint to edit the todos content as well Appreciate the feedback for future videos tho!
@sarrabouajina8319
@sarrabouajina8319 9 ай бұрын
if i closed vs code and i reopened it how to run the app again ?
@destocot1729
@destocot1729 9 ай бұрын
run the npm run dev again in the server and client
@ilhammorsalin2503
@ilhammorsalin2503 3 ай бұрын
@@destocot1729 and be sure to cd server
@waleedsharif618
@waleedsharif618 6 ай бұрын
What about Vercel/firebase for deploying ?
@GiraffeReactor
@GiraffeReactor 6 ай бұрын
i dont think you can deploy a server (at least the way i have it set up) on vercel, as for firebase im not sure how deployment works but you can use firebase as a backend service which i believe would replace your entire backend
@mylovefeeling
@mylovefeeling 6 ай бұрын
Thank you.
@GiraffeReactor
@GiraffeReactor 6 ай бұрын
Glad to help!
@mynewchannel4141
@mynewchannel4141 10 ай бұрын
why you use mongodb instated of mongoose
@destocot1729
@destocot1729 10 ай бұрын
I was trying to keep it simple, use less dependencies as possible The mongodb driver is quite easy to work with, I do use mongoose or Prisma sometimes as well but it's good to have practice with the raw version first before using an orm
@hit_bheda7
@hit_bheda7 7 ай бұрын
i stuck at this error (Error While Fetching SyntaxError: Unexpected token '
@GiraffeReactor
@GiraffeReactor 7 ай бұрын
That means the response you got back is not valid JSON, I assume you're doing await res.json(). You can try doing res.text() to see what you are actually getting back, but you should be getting back json. Double check your back end to see what you are sending back you can test it separately with postman as we do in the video as well.
@hit_bheda7
@hit_bheda7 7 ай бұрын
@@GiraffeReactor If I Use res.text() Still I Got The Same Error
@GiraffeReactor
@GiraffeReactor 7 ай бұрын
@@hit_bheda7 Which part are you up to feel free to share the code here if you think that will help. Test the API end point separately with postman to see if the issue is on the server side or on the client side.
@madhurajyothi3545
@madhurajyothi3545 5 ай бұрын
​​@@GiraffeReactorI got error connecting database with server TypeError: Cannot read properties of undefined (reading 'NumberUtils') at Object. (C:\Users\Lenovo ode_modules\mongodb\lib\bson.js:32:43) This is the error I got, I think the error is with database.js code Could u pls hlp me to find this error
@GiraffeReactor
@GiraffeReactor 5 ай бұрын
@@madhurajyothi3545 not sure what this error is can you share your source code?
@sarfarazzuneja5067
@sarfarazzuneja5067 7 ай бұрын
toggling check mark only shows after a refresh ..help
@GiraffeReactor
@GiraffeReactor 7 ай бұрын
That means your backend is working properly but the optimistic update is not, double check your update function on react
@sanjanaj6542
@sanjanaj6542 3 ай бұрын
Hey were you avle to solve it cuz I have the same problem
@SonNguyen-nr1ug
@SonNguyen-nr1ug 5 ай бұрын
Laptop name
@GiraffeReactor
@GiraffeReactor 5 ай бұрын
This video was done on a custom built desktop with windows 11, there is nothing special about my computer (at least I don't think there is lol)
@arupde6320
@arupde6320 9 ай бұрын
be regular
@nadjibm7
@nadjibm7 2 ай бұрын
still the same 2 errors after restarting the react app in 34:40 !, anyone could help please?
@nadjibm7
@nadjibm7 2 ай бұрын
i solve it by removing the proxy key and value from package.json and user cors in the backend it much better
@GiraffeReactor
@GiraffeReactor 2 ай бұрын
@@nadjibm7 yeah I will be using cors in version 2 of this tutorial, good job on fixing the issue!
Programming Is Cooked
9:30
ThePrimeTime
Рет қаралды 133 М.
How to OVER Engineer a Website // What is a Tech Stack?
11:20
Fireship
Рет қаралды 2,5 МЛН
FOREVER BUNNY
00:14
Natan por Aí
Рет қаралды 28 МЛН
За кого болели?😂
00:18
МЯТНАЯ ФАНТА
Рет қаралды 3,1 МЛН
Auth - API - setting up auth (from scratch)
1:38:03
Andrew Cartwright
Рет қаралды 231
Full Stack TODO list Application || React Node Express MySQL Tailwind
1:58:15
The intro to Docker I wish I had when I started
18:27
typecraft
Рет қаралды 255 М.
DHH discusses SQLite (and Stoicism)
54:00
Aaron Francis
Рет қаралды 100 М.
Complete MERN Beginner Course (TypeScript, Authentication, Deployment...)
7:50:18
MERN Tutorial For Beginners | Learn MERN In 60 Minutes
59:40
PedroTech
Рет қаралды 165 М.
I tried 8 different Postgres ORMs
9:46
Beyond Fireship
Рет қаралды 437 М.