To set NODE_ENV=production in the start script, you need an extra package on a Windows machine: cross-env Install in the root of the application (so not in the backend or frontend) npm install cross-env Then adjust the script: "scripts": { "dev": "cross-env NODE_ENV=development nodemon backend/index.js", "start": "cross-env NODE_ENV=production node backend/index.js", "build": "npm install && npm install --prefix frontend && npm run build --prefix frontend" }, Then you can just: run npm start and then everything is accessible under localhost:5000 Thanks again for the excellent explanation and setup of this environment.
I just completed this tutorial 4 hours long. And it is definitely worth it. Now I know the full steps on how to build a complete authentication system. Thank you so much for your generous time and effort in sharing your knowledge and making this video.
sir you have saved me, 3 days later I have 25 percent delivery of my fyp in university, insha-ALLAH I'm gonna submit your code in authentication module... thanks for great work....
ohh man i thought to tell you to make video on advance authentication and you did thank you so much, now i am create a new project after completing that i will watch this video 😉😉
I just wanna say man you are so good at teaching and explaining why you are using certain things and how these certain things work. I learn so much better from you than I have from college professors. Keep up the great work man. P.S. I love these MERN stack projects.
Such a good video. Not only this is an intermediate level fullstack tutorial ( I am kind of bored of all the entry level tutorials ) with many auth system features, but also the UI is very pretty to look at. Great job.
bro please don't stop posting such valuable contents . i tried all your projects and post on twitter also tag you in a recent post . love from india 😍😍
Great content! I couldn't find other channel that explain these topics with the environment of Node.js and using MVC as the software architecture of the projects. Really helpful!🎉😊 I would like to see more of TyperScript in these projects as well!
Really? I'm stuck at login endpoint. The user is being registered and the email for verification code is being sent to the recipient email. But the user is not being logged it. Its just saying that invalid credentials.
Awesome video!!! Is it possible if you do a part 2 where you add social auth like google, I would really love to see how to manage both email/password and social auth in user authentication
You are awesome😍😍 Please make a video on authentication and managing of state using react query for data fetching and also add some redux toolkit for tracking users details
How about you taking the learning from this video and build a fullstack application on your own. Because anyways you are learning how to setup a MERN project, how to write CRUD API's, how to send mails etc. So how about exploring and learning some topics like search, filter, uploading files on your own while making a project?
Sen olmasan biz ne yapacağız be Burak?! Tebrik ediyorum, mükemmel bir video olmuş! Önümüzdeki videolarda oAuth2 ile alakalı içerik de gelirse mükemmel olur. What would we do without you Burak?! Congratz, you've made an incredible video! It would be awesome if there is a future video related to oAuth2 as well.
Bro I have only one heart How many times you will win it again and again .. Bring course such that create an App and dockerize it and Implement CI CD :)
This is fantastic! I have been doing frontend development for close to 5 years and I am always afraid of backend development but after watching this video. I feel like switching to backend development completely. Do you have a backend development road map? And also, what do you suggest for somebody like me to learn next? Lastly, how do I learn about database design? Thanks
hey bro..just wanted to thank you for your videos. you've helped me a lot in learning mern stack development. just a small request...can you please make a video on redux toolkit and its use-cases?? it'll be very helpful for us. thanks
Bro i really love your teachings please can you develop a full stack mern E learning platform with payment intrgration (Stripe) i really wanna develop it with you
Please make a MERN project for website where players can engage in multiplayer games against each other , with advanced pairing algorithm and live chat bar on the side ❤
hello sir you are a master, can you build a multi vendor marketplace with a bitcoin payment and allow other seller to sell their products in the you own website but you keep with 5% from the total price i need idea to build project like that and i would love to learn from you keep it up bro
Try Mailtrap for free: l.rw.rw/as_a_programmer
@@asaprogrammer_ build eccomerce site or facebook app please
I need to export the crypto. it says it cannot be used in the frontend because it is a nodejs plugin. how can I solve this?
@@mc_sword299 x2
i have an error in mailtrap, it response is unauthorized. . . .MailtrapError: Unauthorized
@@ingedison1 bro are you done chat app
To set NODE_ENV=production in the start script, you need an extra package on a Windows machine: cross-env
Install in the root of the application (so not in the backend or frontend)
npm install cross-env
Then adjust the script:
"scripts": {
"dev": "cross-env NODE_ENV=development nodemon backend/index.js",
"start": "cross-env NODE_ENV=production node backend/index.js",
"build": "npm install && npm install --prefix frontend && npm run build --prefix frontend"
},
Then you can just: run npm start and then everything is accessible under localhost:5000
Thanks again for the excellent explanation and setup of this environment.
thank you ❤
I just completed this tutorial 4 hours long. And it is definitely worth it. Now I know the full steps on how to build a complete authentication system. Thank you so much for your generous time and effort in sharing your knowledge and making this video.
I'm having issue with the login endpoint. Can you help me a bit?
@@creativetracks7099 Have the same issue.
Superb am gonna start
@@creativetracks7099bruh there is essue in this video you need to watch this video in depth 😊
I am having issue in frontend authStore cannot accer user detail.please help
sir you have saved me, 3 days later I have 25 percent delivery of my fyp in university, insha-ALLAH I'm gonna submit your code in authentication module... thanks for great work....
ohh man i thought to tell you to make video on advance authentication and you did thank you so much, now i am create a new project after completing that i will watch this video 😉😉
This is so good plz continue making more MERN projects javascript only plz
ur behind in time u need to switch to typescript
goof
I just wanna say man you are so good at teaching and explaining why you are using certain things and how these certain things work. I learn so much better from you than I have from college professors. Keep up the great work man. P.S. I love these MERN stack projects.
Thank you for the kind words. Glad you are enjoying the course :)
Such a good video. Not only this is an intermediate level fullstack tutorial ( I am kind of bored of all the entry level tutorials ) with many auth system features, but also the UI is very pretty to look at. Great job.
Beautiful Project. I have already completed that. lots of things I have to learn.Thanks
I really love your project my first fullstack project was because of you..thanks for the simplicity and clarity❤
Thanks for the kind words! Really happy to see it actually helps ❤
Wow, your projects are super useful! Thanks a lot!
You're welcome :)
My Jaw Dropped, Watching Such Great Tutorial, explained Perfectly Is Free Of Cost, You Are Awesome ❤❤
This is exactly what i was looking for ❤❤❤❤❤❤
May god give you a million subscribers🎉
thank u so much bro for the free course, u are an angel developer
bro please don't stop posting such valuable contents . i tried all your projects and post on twitter also tag you in a recent post . love from india 😍😍
you never let me go down , i was struggling in this part broo thanks alotttttttttttttttttttttttttttttttttttt....
So glad to had found your channel. Thank you for your Work!
absolutely loved it. Clear, crispy, to the point. 🔥
amazing and easy explanation man !
It was simple and detailed. Someone who is new might easily understand each step. Thanks a lot, man
I am having issue with mailtrap can you help me bit.
@@rahulraj-nx6mv yeah sure
@@rahulraj-nx6mvyeah sure. How can I help you?
Sorry i didn’t get the notification
Brother i became your fan, love from india (please more backend videos like this) and thanks again brother
Great content! I couldn't find other channel that explain these topics with the environment of Node.js and using MVC as the software architecture of the projects. Really helpful!🎉😊
I would like to see more of TyperScript in these projects as well!
HI Burak so finally you got me man I`am following you. I make a few mod`s because the original git repo was not working:but thank you great tut douh.
Really? I'm stuck at login endpoint. The user is being registered and the email for verification code is being sent to the recipient email. But the user is not being logged it. Its just saying that invalid credentials.
How did you figure it out?
Love your MERN projects, sor Burak
This is a must watch for everyone!
You really are an excellent tutor. Right now I am following your channel for projects 😅😅
Thank you for the support ❤
Awesome video!!!
Is it possible if you do a part 2 where you add social auth like google, I would really love to see how to manage both email/password and social auth in user authentication
bro is providing quality!!
Man you are Pumping content, keep going! I need some of this discipline
loved it. Please bring more such videos on MERN Project
You explained really good even if somebody knows all things they might learn some new small things which would be helpful
NO SHORTCUT EXPLANATIONS, Awesome!!
owe some dude , we love your projects fr fr 😌😌🙏🙏
Always amazing videos
Sweet stuff. hoped it was in typescript but never mind. this is awesome
You are awesome😍😍 Please make a video on authentication and managing of state using react query for data fetching and also add some redux toolkit for tracking users details
This is an amazing video.
Subscribed✅
Great work well explanation 🔥🔥🔥🔥
Great Work!, please do add fetures like updating user profile after authentication, changing password, etc in next videos
i love you u are the best i wash every one is like u when teaching us things all love and hope u are doing great
Thanks for this amazing video, I learned a lot 🔥🔥
Great content,
User verification is certainly missing with mailtrap.
this is amazing, hope you can make this in typescript 🥰🥰
you can just do it yourself.
Thank you so much brother keep it up 👍
Bro is the Goat ❤
Can you please make a video on payment integration 🙏. I love your videos by the way. Very educational.
man thats a great tutorial, i wish that you have done the routing using recoil.
Bro everything is perfact, Just increase voice volume ✅
Great content and easy explanation from tip to toe
Thanks, this will be really helpful.
Now try to bring Proper MERN projects with this type of authentications, it will be great and will get alot of views
Yeah some LMS like Udemy🌟
Yup
True
How about you taking the learning from this video and build a fullstack application on your own. Because anyways you are learning how to setup a MERN project, how to write CRUD API's, how to send mails etc. So how about exploring and learning some topics like search, filter, uploading files on your own while making a project?
@@Amankhan-cl1dq That can be possible. But we have to design the whole flow of app first. That is tough one.
hi burak this was helpfull video that i want please upload a video on nextjs full course
Your videos and explanation are very good. Thanks for this. Can you also teach Next Js with Typescript through project ?
Sen olmasan biz ne yapacağız be Burak?! Tebrik ediyorum, mükemmel bir video olmuş! Önümüzdeki videolarda oAuth2 ile alakalı içerik de gelirse mükemmel olur.
What would we do without you Burak?! Congratz, you've made an incredible video! It would be awesome if there is a future video related to oAuth2 as well.
Great tutorial!!!
just what i need; thanks so much
Bro I have only one heart How many times you will win it again and again .. Bring course such that create an App and dockerize it and Implement CI CD :)
best one tutorial I ever seen
This is fantastic! I have been doing frontend development for close to 5 years and I am always afraid of backend development but after watching this video. I feel like switching to backend development completely. Do you have a backend development road map? And also, what do you suggest for somebody like me to learn next? Lastly, how do I learn about database design?
Thanks
Tal vez tú también quieras cenar
@@RolandoDev-d8j 😹😹😹😹😹 too funny
thanks bro i was in need of this video
Thanks and love from Myanmar🥰🥰
hey bro..just wanted to thank you for your videos. you've helped me a lot in learning mern stack development. just a small request...can you please make a video on redux toolkit and its use-cases?? it'll be very helpful for us. thanks
okay, I needed it!
but this video is very useful to us and got more update from you. really thanks sir...
Good project. Please make this type of project.
this is awesome please try to make mern or pern in ts
You should have to build this im Next js. But this also great.❤
OTP is vulnerable to brute force attack because there is no max retries limit
Love from Kenya
Superb ✨
wow, great, thank you very much, a very interesting project, keep it up.
you are the best
Bringing a eccommerce course with this authentication will break the youtube . Also try some react native and also some more python projects .
Hello! Thank you for your work! It is amazing!
Could you tell me what extension do you use that providing you with ready code snippets?
bro. are you reading my mind ? i'm waiting for when you publish that type video
Nice video, thsnk goodness you didn't use some 3rd party commercial auth package ❤
Nope... This time we're the Auth Company 😄
thank you for all. If I may ask can I put this project on my portfolio?
man pls make a project how to build a youtube app and that should be complex
Great video ❤❤❤
Bro this is great
Amazing ❤
Bro i really love your teachings please can you develop a full stack mern E learning platform with payment intrgration (Stripe) i really wanna develop it with you
Please do lots of video because we students follow your video so please 🥺
Yes Please
Please you can make one complete video on nodejs and expressjs
Great videos, but just a small thing, there are echoes when you are typing.
thank you for this awesome tutorial. do you have any plans to create same tutorial for golang and react?
Please upload NextJS Course ❤❤
Thank you so much ❤
Please make a MERN project for website where players can engage in multiplayer games against each other , with advanced pairing algorithm and live chat bar on the side ❤
Perhaps, your requirements are too high? Though, we would love to see that project!
Wow, great 👍 👌
Is there also an alternative to mailtrap?
Can you make something like this yourself based on nodemailer?
That's great, thanks.
Thanks for this
why not google login too
One doubt bro ,how you create these things ,how you think these please tell me you only sit or some teachers helping you
hello sir you are a master, can you build a multi vendor marketplace with a bitcoin payment and allow other seller to sell their products in the you own website but you keep with 5% from the total price i need idea to build project like that and i would love to learn from you keep it up bro
Eline saglık hocam
Hey dude ur doing amazing things🎉. Can u tell me ur vs code theme🙏
Hey why do don't upload any project build in Django 🤔
hi, thank u for sharing this video it's really helpfull
i'd like to ask about ur vs code font