MERN Recipe App with Authentication - Build & Deploy A React Intermediate Project

Поділитися
Вставка
  • Опубліковано 5 вер 2024

КОМЕНТАРІ • 275

  • @PedroTechnologies
    @PedroTechnologies  Рік тому +18

    Deploy your application RIGHT NOW with Hostinger!: hostinger.com/pedrotech (get 10% off with code PEDROTECH)

    • @businessuser5146
      @businessuser5146 Рік тому

      please make fiverr clone (all functionality) using MERN... Pls

    • @businessuser5146
      @businessuser5146 Рік тому

      or upwork clone

    • @d3ath105
      @d3ath105 Рік тому +1

      Can u use free hosting?

    • @hajamydeen2025
      @hajamydeen2025 8 місяців тому

      you teach great and simply. i learn many more of this video. thank you.

  • @Mirrasim
    @Mirrasim Рік тому +36

    English is my fourth language and I started learning programming in English and you are one of the few whose accent I understand well by ear. Thanks for the content.

  • @anupchaudhary4253
    @anupchaudhary4253 Рік тому +5

    Pedro , I started learning web development because of u , and I have won one national hackathon.
    So ,Thank u so much , please keep creating great content for us .

  • @k303k
    @k303k Рік тому +1

    Because of youu I 've learned everything about Full Stack Javascript.BEfore i met your channel i only know about javascript but then i learn react,firebase, nodejs, expressjs ,mysql and mongo db from your channel.After finishing your teaching , i can do projects well on my own.I can think how to addd features.You are a legend bro.I will never forget you when i get my first job!!!!

  • @jaia466
    @jaia466 Рік тому +7

    I have learned so much from you and learned React mostly from you. I got a job last year just by learning through your lessons. What you teach is always what I really need. Thank you Pedro! 😁

    • @bekiteshome4670
      @bekiteshome4670 Рік тому

      is it hard doing a job as a web developer? I'm ready to land in job but I'm afraid it will be hard,

    • @jaia466
      @jaia466 Рік тому +1

      @@bekiteshome4670 actually it depends on your company and your senior, as a junior dev i am mostly tasked to do some basic to quite challenging components and I mostly learn from my colleague's work and I always read their code, in that way you'll learn more. If you have a good manager or senior they will get your opinion for the project as well so you will feel involved (in that case, thats how they treated me).
      Don't worry, they won't give you the hardest task within the project because tasks are distributed regarding on your position, well that's how we do it in my company and this does not apply to every company out there. Hope you land a job soon, goodluck!

    • @bekiteshome4670
      @bekiteshome4670 Рік тому

      @@jaia466 Thank you very much for the explanation. I feel a bit better hoping that I will have a manager or senior like yours.

    • @arrruzhan11
      @arrruzhan11 Рік тому

      Can you share with me working code, because I am stuck at saveRecipe function?😓

    • @ronnienicandro.5593
      @ronnienicandro.5593 Рік тому

      hello how can i send u a dm i just want to ask something .... thankss

  • @eduarddez4416
    @eduarddez4416 Рік тому +5

    While following your tutorial I've encountered tons of bugs , but it has been a good learning experience trying to solve them.
    I was expecting to finish this project in 4-5 hours but it took me more than 10.
    I like the fact that you explain everything clear and would be even better if in some parts you could go a bit slower.

    • @siddheshsurve6608
      @siddheshsurve6608 Рік тому

      Exactly, I experienced the same

    • @ablncs
      @ablncs Рік тому

      I think it's a good thing that it takes longer than expected because if you fly through a project it's pretty easy to forget a lot of the things you actually did.

  • @AJAYSINGH-yg8re
    @AJAYSINGH-yg8re Рік тому +6

    Pedro, becoause of your react playlist I got confidence in myself for understanding concepts, now I feel much clear. Tommorow at 12:00 I have an interview for the frontend intern role.

    • @eshw23
      @eshw23 Рік тому

      Good luck man

    • @crisi6754
      @crisi6754 Рік тому

      good luck brother

    • @jesseemana9598
      @jesseemana9598 Рік тому

      good luck brother, you got this

    • @zoranpujic3605
      @zoranpujic3605 Рік тому

      Did you get a job?

    • @AJAYSINGH-yg8re
      @AJAYSINGH-yg8re Рік тому +4

      @@zoranpujic3605 thank you everyone (UA-cam just notified me). Yes I got the Internship. My joining was on 1st of april it's been 1 month. Really the work is hell easy than those interview.

  • @eshw23
    @eshw23 Рік тому +6

    THESE ARE WHAT WE WANT, if you can add the image uploads in another video that would be great, its just used a lot with the MERN stack.

    • @PedroTechnologies
      @PedroTechnologies  Рік тому +5

      Yess i can for sure make a project where i can upload images :)

    • @arrruzhan11
      @arrruzhan11 Рік тому

      Can you share with me working code, because I am stuck at saveRecipe function?😓

    • @TheHumanistX
      @TheHumanistX Рік тому

      @@PedroTechnologies Hey Pedro, a few of us on here are struggling just at the 38:10 mark where you send the first POST from Insomnia and receive the username/password back... some of us still just get nulll. Do you have any idea what might cause that? I posted in the #backend channel on your discord too about it. Thanks, man.

  • @eddyelamin9015
    @eddyelamin9015 Рік тому +5

    This is the kinda projects we look for. Thank you Pedro

  • @BrandonGiordano
    @BrandonGiordano Рік тому +4

    Hey, I'm a coding bootcamp graduate and I just noticed a lot of things you could probably clean up to make this a little more user friendly and production ready. For instance a should be able to automatically log in and navigate to the homepage after registration. Some of your naming conventions are a little inconsistent as well. Also I would advise moving your main "index" server folder outside of your src folder so that it's easier to run both the client and server concurrently from the root. Also your repository seems to be missing bits and isn't fully functional. For instance I copied it down to a separate repo from what we did in the video and it seems the post routes aren't working and the homepage is missing the useCookies tools. There's also a ton of places where you declare variables but never use them. Maybe update that repo so it's easier to verify after the tutorial

    • @CoderSineNomine
      @CoderSineNomine 3 місяці тому +1

      well summed up.. also if anybody wants to build a professional node project, this is not how an authentication should be. to understand how node and react combo works togenther on a very very basic level, this might be a userfriendly project but in order to build a secure website, don't use this example!! learn middleware, error handling and multiple scenario based authentication..

  • @thugsmf
    @thugsmf Рік тому +4

    Hey Pedro, thank you for the tutorials. The way you explain things is very intuitive. Yes, please show us how to deploy the backend! thanks again

  • @FN-zg8lj
    @FN-zg8lj Рік тому +1

    The best tutorial I've seen! Thank you for explaining soo thoroughly and not using any sponsored stack. You're amazing!!

  • @alero9505
    @alero9505 Рік тому +5

    Very good tutorial 👏 I think It would be great if for the next time you can create a design schema for the whole system you will build, showing web client, api endpoints, database, server and its relationship.
    I think that having an overview of everything before implementing would be great.

  • @psicotrogato
    @psicotrogato Рік тому +2

    Allways happy to see another tutorial of this chanel... you are a realy good Master, thanks...

  • @madanmohan5661
    @madanmohan5661 7 місяців тому

    gotta hand it over to you, you kept that in mind that many of us are here only for learning how the functionality works not that we want a very good Ui.

  • @arslanazhar8947
    @arslanazhar8947 6 місяців тому

    Tbh, I watched three of your videos at certain times (when the need arose), and I always got the right solution straight to the point. Thanks, Pedro!

  • @joshithmurthy6209
    @joshithmurthy6209 Рік тому +1

    Thank you very much for this tutorial , it was very much needed for me as a beginner . It is short and builds foundation for making bigger project.

  • @sakibcoder
    @sakibcoder Рік тому +1

    You are amazing, Please make more tutorial like this one. in two and half hour you showed so many things!!! That's really incredible

  • @stocadg
    @stocadg Рік тому +1

    Hi Pedro, one thing i find interesting is your english accent, very subtile.. Brazilian accent when the speakers knows how to pronounce things is very accurate for understanding. I remember my accent being exactly like yours. Today i live in Australia so because of that i shifted to the local accent, but still i often callback my original accent.

  • @AmadeusMoon
    @AmadeusMoon Рік тому +1

    1:16:51 Two things :
    - The username and password fields are not required
    - And more importantly even if they are the user can fill in anything and still get redirected to homepage

    • @basictears
      @basictears 7 місяців тому

      having the same problem

  • @stonecomstock
    @stonecomstock Рік тому +1

    Thank you Pedro! I can't wait to go through this tomorrow. Just what I needed!

    • @arrruzhan11
      @arrruzhan11 Рік тому

      Can you share with me working code, because I am stuck at saveRecipe function?😓

  • @sigfigronath
    @sigfigronath Рік тому +1

    More videos like this Pedro !!! Simple project ideas like this that highlights MERN functionalities

  • @Spiderzzzzzzzzzzzz
    @Spiderzzzzzzzzzzzz 5 місяців тому +3

    Fully Finished

  • @Jack_Sensei
    @Jack_Sensei Рік тому +2

    Really needed this video right now! Thanks Pedro!

  • @erinerin1020
    @erinerin1020 Рік тому +1

    Thank you Pedro for this tutorial. I'll be so grateful if you will make mern tutorial on filtering and sorting data

  • @epictube5045
    @epictube5045 9 місяців тому

    Frontend Logic+Backend best practices and a huge knowlege. I regret why i saw this video so late. By the way your voice is so similar to stephane mareek, The most famous AWS Teacher

    • @boredguy5805
      @boredguy5805 7 місяців тому

      hey man, was it easy to follow this tutorial, how long did it take you?

  • @cristineeross
    @cristineeross Рік тому

    This is such a complex topic for me as a beginner with all the API testing and database management, but now it all makes perfect sense, thank you so much for explaining every step, it helps a lot (even though neither Insomnia nor Postman didn't work for me, Talend extension did the same job).

    • @AguOkey
      @AguOkey Рік тому +1

      hello can you explain how you made it work . I'm stuck at the 37:51 timemark and for some reason all of my post requests return null . I don't know what might be the issue

    • @Crypto_with_Kaif
      @Crypto_with_Kaif 11 місяців тому

      ​@@AguOkeydid you use express.json()?

    • @BbrainTtrain
      @BbrainTtrain 6 місяців тому

      Is your database connection showing

  • @alexpablo6840
    @alexpablo6840 Рік тому +1

    I've been searching the web for hours/ days trying to figure out how to deploy my mern projects and couldn't find any good information or any in MERN stack. I will comment later to tell how it went

  • @abhiramsatpute
    @abhiramsatpute Рік тому

    Amazing tutorial Pedro! You can also change the timestamp title of Setting Up & Using MongoDB Compass to include Setting Up Backend Auth Logic as well

  • @Geogoslee
    @Geogoslee Рік тому +2

    @PedroTechnologies Hi Pedro or anyone could help to provide a guide on how to 'edit' and 'delete' the recipe. if included Pagination & Search will be perfect.

  • @laja6108
    @laja6108 Рік тому +1

    Hey Pedro, thank you for dropping this epic tutorial 🙌 just curious, is there a reason why you used create-react-app instead of something like Vite?

  • @Roronoa1062
    @Roronoa1062 Рік тому +4

    22:09 Please mind removing the "" while putting the password
    28:20 Please mind adding your IP under Network access tab from the home screen, or you can set it to connect from anywhere
    01:17:00 Mine doesn't register the token on the local storage also I am unable to navigate to the Home page :/ the page stays at login /register only [ update : resolved this I was missing on a onsubmit call inside login function].

    • @jumbo999614
      @jumbo999614 Рік тому +1

      Happened to me too. But later I figured out that I misspell the word "access_token" which caused the page to stay at login/register instead of show logout button.

  • @Gorpax
    @Gorpax Рік тому +1

    First of all great video I really like this format

  • @gintoki100
    @gintoki100 Рік тому +1

    How to add delete and update functionality?

  • @amgedelmasry322
    @amgedelmasry322 Рік тому

    thankyou for the effort, simple explanation and very beginner friendly

  • @Urstruly916
    @Urstruly916 Рік тому +1

    If you could do a video on deploying the backend on a hostinger vps, that would be wonderful! I've been trying to figure it out myself for almost 6 months to no avail.

    • @PedroTechnologies
      @PedroTechnologies  Рік тому +3

      Yes for sure!

    • @okerrioghenero4027
      @okerrioghenero4027 9 місяців тому

      ​@@PedroTechnologies❤❤❤❤ I can't wait to see the video for the backend deployment on hostinger

  • @thyagosic
    @thyagosic Рік тому

    Amazing tutorial. You've won a subscriber. Keep up with the good work.

  • @henyadose
    @henyadose Рік тому

    Bro your content is really great, it helped me a lot to be honest. I have one request for you
    Would you please create a video on front-end developer interview? where you discuss about the average salary for fresher and how to get a job faster.

  • @noman598
    @noman598 Рік тому

    Thankyou bro ! this is really Amazing to understand the Concept very clearly

  • @ahmednassar2536
    @ahmednassar2536 Рік тому

    Pedro , can you adjust the video resolution .
    You are the best one who simplify react js to mm

  • @meeeserver7769
    @meeeserver7769 Рік тому

    please add search filter functionality it will be so useful. thanks

  • @ruona2133
    @ruona2133 Рік тому

    Thanks Pedro. Please make a video on how to deploy the backend as well

    • @Ajaykumarr89
      @Ajaykumarr89 Рік тому

      did he teach connecting both frontend and backend

  • @swagz6440
    @swagz6440 Рік тому

    great video please upload a second part showing how you deploy your backend

  • @abdelrahmanashraf9782
    @abdelrahmanashraf9782 Рік тому

    wow man your style in education is amazing😍

  • @KaifJeelani
    @KaifJeelani 11 місяців тому +1

    I am getting recipeID and userID as null

  • @God_of_Kiwi
    @God_of_Kiwi Рік тому

    I actually find it more stimulating to finish the backend first because then i can debug with the least issues and validate the logic early on, befre wasting time in styling
    1:08:17

  • @alveek
    @alveek Рік тому

    Hey, Pedro. Thank you for all your great tutorials! Can you show how to setup Mongodb without using Atlas?

  • @aniket1008
    @aniket1008 8 місяців тому

    For people having trouble with insomnia
    You have to send the same username and password which u have saved in ur collection
    coz its trying to find the username which matches the existing user

    • @boredguy5805
      @boredguy5805 7 місяців тому

      hey man, was it easy to follow this tutorial, how long did it take you?

  • @saranyaa5642
    @saranyaa5642 Рік тому +1

    Add responsiveness it will be so helpful for us

    • @dcm_r
      @dcm_r Рік тому

      You should learn styling/css first before creating mern stack

  • @kirannankani9707
    @kirannankani9707 4 місяці тому

    love all your videos and tutorial. Thank you 😊

  • @rayhanislam7518
    @rayhanislam7518 Рік тому +1

    Is hostinger support MERN? specially MogoDB database? Like any cpanel doesn't support MongoDB. What about that? Like I want to use a hosting service for News channel so I need there a big storage so what is best choice for hosting?

    • @PedroTechnologies
      @PedroTechnologies  Рік тому

      Database is hosted on mongodb atlas. In the video i just deployed the frontend to hostinger!

  • @lucaskroger3451
    @lucaskroger3451 Рік тому

    Eu procurando conteudo em Ingles pra ver se finalmente achava Projetos descentes e me deparo com o melhor canal da gringa sendo de um Brasileiro kkkkkkkk mt bom

  • @the_anonymous369
    @the_anonymous369 Рік тому

    Hi Pedro, I hope we can have a tutorial with similar MERN stack project but with the implementation on both access token and refresh token.

  • @i-001
    @i-001 Рік тому

    Thank you for this video! I would like to see a backend (database) deployed? Not sure if this already exists

  • @angladephil
    @angladephil 6 місяців тому

    Thank you for the good job, very informative and didactic.
    I have a question : if a signed user don't logout "properly", and just close the app, aren't we supposed to handle some "onClose" stuff (to clean up localstorage) or the storage could be a "session storage" , instead ?...
    Thank you.

  • @1berkproduction
    @1berkproduction Рік тому

    Super nice video thank you for sharing.. Import Cost extension added.

  • @Spiderzzzzzzzzzzzz
    @Spiderzzzzzzzzzzzz 6 місяців тому

    31:08 when you added those line in 15 & 16, am i missing something?

  • @saifosama1833
    @saifosama1833 Рік тому

    great video as always i feel like we need a next 13 tutorial i ve been looking around and most of info around is not with app directory would be a life saver if you can teach us

  • @TheCrowdel
    @TheCrowdel Рік тому +2

    good tutorial but omg back end so confusing

  • @akhtarmoradi8609
    @akhtarmoradi8609 Рік тому

    First of all thanks for ur nice explanation and tutorial and i am so badly waiting for uploading backed-in hostinger plezzzzz make a video

  • @pyaephyo3633
    @pyaephyo3633 3 місяці тому

    Could you tell me plz when user is not login condition , how to handle the save-button from home page.

  • @Abilovv599
    @Abilovv599 Рік тому

    Nice video, can you tell how to show paths in terminal just in yours?

  • @_The_OPs
    @_The_OPs Рік тому

    Building website is one of my favourite not untill I started mining and trading and earning huge ❤️....
    Nice video mate!

  • @houssemflutter2722
    @houssemflutter2722 Рік тому

    Hello our best teacher ☺️, but why did you work with the previous way for react-router-dom library??
    I really wanted to see it because honestly I didn't understand from the previous lesson where to put the navbar🥺

  • @the_anonymous369
    @the_anonymous369 Рік тому

    We would love to see the deployment of backend too, thanks

  • @Enteratedelchisme
    @Enteratedelchisme Рік тому

    Thank you! Thank you! YOu explained how to use mongo db website I was doing this so wrong. But, I have it down now and I was able to connect!

  • @PanlasangMotour
    @PanlasangMotour Рік тому

    Your always amazing pedro content is very clear and well explained ❤❤ since day 1 ❤

  • @AleySoundz
    @AleySoundz 5 місяців тому

    Is there a reason you do export {router as userRouter} instead of just initially naming the variable userRouter?

  • @powdee2274
    @powdee2274 Рік тому

    For people having trouble with getting error back, when you get error send a 400 request. also send an alert like this to get the message alert(error.response.data.message)

    • @arrruzhan11
      @arrruzhan11 Рік тому

      Can you share with me working code, because I am stuck at saveRecipe function?😓

  • @siddheshsurve6608
    @siddheshsurve6608 Рік тому +1

    Ingredients must be shown at home page for each recipe

  • @ola6710
    @ola6710 Рік тому

    Pedroooooooo, you are the man! 💪🏾💪🏾😂
    Kiitos paljon!

  • @albertoiong6895
    @albertoiong6895 Рік тому

    Thank you very much for your MERN tutorial...

  • @mohamadnagiebrahim
    @mohamadnagiebrahim Рік тому

    I am half way through the video, I have a question about the difference between the "savedRecipes/ids" route and the "/savedRecipes", why do we have two, they seem to create the same thing

  • @user-pu2mr8gt1r
    @user-pu2mr8gt1r Рік тому +2

    hii @pedro i just don't get any username or password while run Insomnia it return null i don't know why it do that

    • @TheHumanistX
      @TheHumanistX Рік тому

      I'm getting the same issue.... can you reply to me if you figured it out?

  • @vinsmake
    @vinsmake Рік тому

    I'm sorry but i have a question, did you buy a "web hosting", "vps" or "cloud hosting"? i don't really understand the diferences

  • @joe86569
    @joe86569 Рік тому +1

    Bro do node Express Mongo tutorial

  • @liwarrior9496
    @liwarrior9496 Рік тому

    Can you make a Next 13, MongoDB and NextAuth authentification tutorial please? Love your content. 🔥

  • @yutsacarm8021
    @yutsacarm8021 Рік тому +1

    can you help me out here Pedro
    I have been watching your video
    tried different projects
    but got stuck at the same error
    it said AxiosError, request failed with status code 400

  • @ridewithme9422
    @ridewithme9422 Рік тому

    Hey Pedro , I made this project and I learned a lot
    Some of the bugs i faced :
    1. If we enter a wrong password/username while logging in , it doesn't render UI on home page but it is printing array of Recipes in console , that mean it still logged in , how can we add Check for password or username so that don't happen

    • @arrruzhan11
      @arrruzhan11 Рік тому

      Can you share with me working code, because I am stuck at saveRecipe function?😓

    • @raunak1833
      @raunak1833 Рік тому

      please share your code , i am stuck

  • @sonamohialdin3376
    @sonamohialdin3376 Рік тому

    This is really amazing tutorial thank you very much

  • @just_relax-zx
    @just_relax-zx 11 місяців тому +1

    good work appriciate it

  • @zainulkhan8381
    @zainulkhan8381 Рік тому

    Great video pedro it was a complete package of mern. Just a single query, just like we authenticated our backend how can we do the same in frontend for each and every page. I mean if a user is not logged in he should be redirected to login page when the user tries to surf those authenticated pages/components

  • @govinda399
    @govinda399 Рік тому

    Pedo my younger brother, you are rockstar!!

  • @matheusferreira5600
    @matheusferreira5600 Рік тому

    Damnnn, that's really what I was looking for

  • @chaowanakornrhuttanaourai1040

    You can unhash bro. Love you pedro. Your course is great .

  • @ogunsinapelumi1505
    @ogunsinapelumi1505 Рік тому

    I take this tutorial, but so unfortunately the create recipes page couldn't submit data to the database and the route is perfectly working when I used Postman also the saved recipes page doesn't fetch data

  • @mohammedkhushabalam7555
    @mohammedkhushabalam7555 Рік тому +1

    Please provide the source code. I have a frontend interview soon. Thanks

  • @ranasif
    @ranasif Рік тому

    Thank you very much! learned alot!

  • @chichebedarlington4360
    @chichebedarlington4360 Рік тому

    Can you please do a tutorial on e-commerce application using MERN stack, thanks

  • @babyzonechanell
    @babyzonechanell Рік тому

    Thank you bro You can write cloud-disk i wanna learning how work with file and how upload files thank you bro

  • @sayidshayan7610
    @sayidshayan7610 Рік тому

    Can you show us how to deploy this project in vercel.

  • @chichebedarlington4360
    @chichebedarlington4360 Рік тому

    Thanks, what a helpful project tutorial

  • @vedantg8372
    @vedantg8372 10 місяців тому

    how are you getting suggestion of the packages you r installing in the terminal.

  • @nutshell4886
    @nutshell4886 Рік тому

    hey pedro in insomina it says Cannot POST /auth/register can you help fix this
    for me please

  • @HarjotSingh-kk9yt
    @HarjotSingh-kk9yt 7 місяців тому

    quick question for pedro or anyone else who can answer it; I see we set up in the back end a check to see if username is already taken, I am trying to do it on the front end but it wont let me, just keeps giving the alert that account was made successfully, any tips?

  • @dimasnytin
    @dimasnytin Рік тому

    Thank you 🤩🤩 This project greatly

  • @mehdibouhamidi4675
    @mehdibouhamidi4675 Рік тому

    is there an alternative for deploying backend(Node js) rather then using VPS hosting

  • @rohitghosh4625
    @rohitghosh4625 Рік тому

    is the hook that was made at 2:00:01 is called as custom hook

  • @projectbasedcoding
    @projectbasedcoding Рік тому +1

    This is amazing! Thank you

  • @ayushshende4290
    @ayushshende4290 Рік тому

    Please make a video with typescript in mern.