I'm going to be totally honest man, I don't usually comment but this is incredible. You've gotten me from very proficient in standard html, css and js and basic node all the way to fullstack mern with good understanding in the span of about 10hours (yes I was a little slow and paused plenty)... very much appreciated.
Hey, did you created the same project along with the video? I need someone's help as I am getting few errors. Its quite urgent , please consider replying at - p3021kumar
This is the best MERN tutorial I ever learned. Frankly speaking, It's better than other training courses on Udemy which cost us too much! I really appreciate!!
Now that i see how can i conneect the backend and the fronted, i feel more confident to do my own projects, i might do a project similar to this one, but with different fundamental point Thank you my man !
I walked through every byte of these two videos and built a web. Even though I have been following a 1 months course on React & Redux, I couldn't quite get how all this works, but with these videos now I think I started understanding. Thank you so much! And I am strongly for the part 3! Authentication, plz!!!
Thank you Adrian. That's one of the rarest tutorials about the mern stack. I definitely recommend beginners to watch. I liked the part when you showed us your debugging process and said that it is okay. Thanks again.
I love these 'shorter', but still useful videos. I don't usually have 20hrs to go thru long tutorials (usually 10hr video takes 20hrs of hands on work).
Holy cow, I just watched these 2 videos to get a "big picture" look at making a full-stack app. I'm a front-end dev who hasn't done any back-end work yet. What a huge number of things to remember and connect together in order to get it all working. I was completely lost during most of the redux/mongoDB/actions/mongoose stuff. Phew, got a lot to learn. Nice video though! Hope to get there someday.
Adrian, you are my main instructor. Of about 200 tutorials I have watched and hundreds of hours online working courses etc past year or so you are the best instructor I have seen. Your Complete Path To JS Mastery has me so well informed on JS that I got through part one of this MERN tutorial, Memories App successfully with few problems. Plus I understand most of it well enough that I have confidence I will be able to build my own CRUD apps from scratch soon. Thank you!
If getting "h10" error after clicking "Open app" in Heroku, try changing procfile code to "web: node index.js" (omit the quotes). This worked for me. Fantastic tutorial!
Just finished this follow along, it took me longer than it probably should have... Absolutely awesome video! I am currently a student and just finished my first quarter doing server-side so we haven't learned how to deploy or how to link client and server-side. I am practicing on my winter break and now feel like I'm already ahead for next quarter. I would love to see the same thing everyone else is requesting. Thank you for your time and efforts!
To anyone else struggling with the deployment phase -- the mongoDB Atlas cluster needs to have your Heroku IP address whitelisted, or alternatively you can whitelist all IP addresses while you're testing your app. My deploy phase kept crashing and I didn't know why, but after 40 minutes of troubleshooting I realized that the heroku IP address couldn't access the database. Thank you so much for this video. I've been a front-end Engineer for the past year and haven't had time to jump into the full-stack / backend stuff, so this came in so clutch.
If anyone had a problem when they hosted their server with Heroku, one fix might allowing acess from any ip to your mongo db atals. At least that worked for me! Cheers!
If this fix doesn't work, you can check your package.json in the server file, and check if 'nodemon' is under dependecies. If it is not, just run 'npm install nodemon --save' in your server file, add and push everything to heroku and you should be set.
Amazing! Anyone who wants to see a practical example of a MERN App after learning (or even brushing through) the main concepts, this is the project for you.
I was learning only front end up to this point and I was afraid of the leap into backend territory, as you always are when it comes to something new, but thanks to this series I was able to build a full stack app, different from what you presented, with just focusing on server and data handling parts without previous experience with backend! Mad props to you sir!
Gosh this is the best MERN stack video i have watched, i learnt alot that am proud of . With this knowledge i can build many things wow ❤, thank you so much
I took three breaks from this course and tried different courses , each time i feel like that this is more convenient then the others... So updated so easy to follow so friendly and makes since < duo to Ur explanations organized ... I hope you keep up your GREAT work
Can you help me with this error that i got in posts.js It says cannot read property of undefined reading ('length'). It was the condition: if (!posts.length && !isLoading) return 'No posts'
Definitely authentication and authorization brother. That makes it complete. Love the course, Even though I can recreate this project myself I'm still watching, hoping to get important concepts ❤️❤️❤️
Hey adrian! Thank you for everything you covered in this series. This was the series that actually cleared all doubts I ever had about how to connect backend and frontend. Hopefully I'd be able to make MERN apps now. 🙏🙏🙏
Can you help me with this error that i got in posts.js It says cannot read property of undefined reading ('length'). It was the condition: if (!posts.length && !isLoading) return 'No posts'
Awesome!!! This is my first try doing MERN and it worked! Thank you dude! I learned so much! Worth it! Tip: Stuck on bug? Read comments, console and a little google. Happy coding!
Can you help me with this error that i got in posts.js It says cannot read property of undefined reading ('length'). It was the condition: if (!posts.length && !isLoading) return 'No posts'
This is so good that I dont have enough words to describe, just have one humble request please come with one more mern project just one more so will feel more confident.
Hi, Thank you so much for this product (and channel) please record part 3 of this wonderful tutorial. I know it takes a lot of time and effort. But this is gold! Thanks again.
Very useful and easy to follow your course is. As of Feb 2021, when we deploy 'server' to Heroku, the syntax need to be 'git push heroku main' NOT 'git push heroku master'. Anyway thank you for the second tutorial!
Hi! Were you able to deploy successfully? I'm facing some error and it seems like the index.js file in my server is not being detected, with the error: node:internal/modules/cjs/loader:936 Error: Cannot find module '/app/index.js'
I like the way you taught. You wrote the code in systematic and logic way that made me understand and be easy to follow along. Appreciate for your dedication. Thank you.
Hey when we are dispatching the action in form.js within the handleSubmit i am getting the following error.Actions must be plain objects. Use custom middleware for async actions. It works if i just dispatch it as dispatch(createPost) but fails if i dispatch it as disPatch(createPost(postData))
Bro, i love the way you cover everything in this second part, i'm already working on an MERN App and your videos make me feel more confident, thank you for share this knowledge with us, masterrrrrrrr 🔥🔥
Can you help me with this error that i got in posts.js It says cannot read property of undefined reading ('length'). It was the condition: if (!posts.length && !isLoading) return 'No posts'
@53:45 you can also add .trim() to make it so that users cannot add a space to the form: tags: e.target.value.trim().split(","). Also, this can cause empty hashtags if users enter an input with multiple commas like: tag1,,,tag2,. But, you can alleviate this error by adding the following logic to Post.js component for tags as follows: {post.tags.map((tag) => (tag === "" ? "" : `#${tag} `))}. Hopefully that helps anyone who wanted to handle these edge-cases.
Part 3, pagination, authentication and search it will be amazing. Your voice is really calm and your tutorials are simple to follow and understand. I follow this course for 3 times in 2 days, to understand the structure and how you pass data. It was my first contact with redux, and probably I will watch again few more times to really understand the CRUD process front-back end. Thank you.
@@channel23653 Can you help me plss, I got stuck at timestamp of 11:20 ,instead of showng a post ,it is showing circular progress when i opens the page
If you get an error on your deployed app page, might be because you skipped adding 0.0.0.0 to whitelisted IPs in MongoDB Atlas. I think it's best if we whitelist the IP for the Heroku IP only, but I guess it is dynamic.
Gracias por toda la info. gente, me encanto el tutotrial aunque loo intente todo pero aun asi no puedo lograr el deploy completo, al abrir la App me da un 404.
Thanks, great video. If you put dispatch in the dependency array of the useEffect in Form component it will rerender the page when you update. useEffect(() => { if (post) setPostData(post); }, [post, dispatch]);
31:31. You don't need to put currentId in useEffect of the cuz when submit for updating in . It will update the posts in store(if the request succeeded ) then and will be updated with the new state.
if (!mongoose.Types.ObjectId.isValid(id)) return res.status(404).send('No post with that id'); “id is not defined” I get this when doing the update functionality??? Can you help me please
Thank you for showing your error solving method. I just spent the past week trying to figure out why mine wasn't working when the answer was I forgot to call getPosts() in App.js XD Also thank you for this video and all your hard work with these coding projects! You really make learning new thing easy and enjoyable!
Its great to learn bro, normally the videos for the MERN projects are shown with old js ways, but this concepts is perfect to code and be updated bro, hope that we will see its next part!! just like app.listen(), we.listen(JSMastery) bro :)
@@kailashraizelmaden4684 Hey Kailash! If you are a fresher based in India and looking for opportunities in web development, please connect with me using the information on my channel.
@@javascriptmasterythanks a lot for your time to do this excellent course.. I've implemented along with authentication(jwt Auth)🙂.. Super excited to see your way of doing it. fond-memories.netlify.app
IF YOU HAVE ISSUES WITH HEROKU DEPLOYMENT LIKE I DID: fix this by going to Heroku settings > config vars > set key = URL & value = to your custom url from the .env file (do not use any quotes) and then save. Not sure if this is technically the correct way to go about this but I was happy to finally see it work after hours of debugging lol
@@koushi_ku Hi Koushik, are you open to exploring full-time positions in web development currently? If yes, please connect with me using the contact information on my channel.
If you're struggling to deploy to heroku, follow these steps: Make sure your mongoDB network access is set to anywhere Make sure your .env file is correct Also remove the '|| 5000' from your PORT variable After everyhting is done, commit the new changes, and push to heroku again. Then type in the terminal after the push has completed 'heroku restart' This worked for me :) Stuck for like 25mins yo XD
Thank You! btw Beginner here, if I wanna commit new changes to heroku, should I type in the terminal or press the commit button on the left side of VSCode?
@@shiyapiku I'd recommend following the heroku steps for committing again. Although I think heroku watched the repo you linked, so pushing and updating the repo in github should work too. Usually in the terminal is nice, but doing it through the sidebar I'm VSC also works. Terminal just has that more programmy feel to it :)
Bro, I do not want any excuse, please please upload part3 authentication before the new Year. U have taught so well. Reminder: Part3 Authentication before new Year
@@susmitobhattacharyya1668 Yes, we currently have opening for freshers and experienced candidates in web development. You can connect with me to know more. Please find my contact information on my channel.
Can you help me with this error that i got in posts.js It says cannot read property of undefined reading ('length'). It was the condition: if (!posts.length && !isLoading) return 'No posts'
Can you help me with this error that i got in posts.js It says cannot read property of undefined reading ('length'). It was the condition: if (!posts.length && !isLoading) return 'No posts'
Thank you, it's veeeeeeery useful. And I appreciate that you prepared css styles and it took little time. You are such an amazing teacher. Thanks again and good luck
Thanks for video, Guys if you struggle with showing images in your react app(base64), make sure that caller for image={post.selectedFile} must specify height otherwise the image will not be visible. Hence, classes of card must have height attribute.
Any one get error on the deployed App? The backend deployment was succeed but, when i open the app, the page said its error. Edit: Its solved. When I check the log, it said there is a problem with mongo db atlas connection. So I go to mongo DB atlas, and make all ip have the access.