Node.js E-Commerce App REST API with MongoDB | Shopping API with Stripe & JWT

  Рет қаралды 708,653

Lama Dev

Lama Dev

Күн бұрын

Пікірлер
@unknownman1
@unknownman1 3 жыл бұрын
*Not all heroes wear capes. Thanks for what you do for the community*
@coderblip8435
@coderblip8435 3 жыл бұрын
Bro I swear if I make money from this I’m gonna find a way to pay you back. I love you man!
@danaharley3565
@danaharley3565 3 жыл бұрын
Wow.
@bemotivateddaily271
@bemotivateddaily271 3 жыл бұрын
Wow, this is great
@momimdoingfine1502
@momimdoingfine1502 3 жыл бұрын
I'm trying to get from testers to developers If I will, first paycheck is for lama
@yakimura96
@yakimura96 3 жыл бұрын
You can join his channel
@brilliantatosam
@brilliantatosam 3 жыл бұрын
Now, you can watch the ads that pop up. I believe our superstar could make a few dollars from it. Myself, I never skip an ad on his videos.
@toannew
@toannew 2 жыл бұрын
notice when cloning the project: 1. change env. 8:33 scrypto 39.41, PASS_SEC 41:51, pass_Sec can be set randomly as you want 53:00 JWT_key (JWT_SEC) 54:00 Verifytoken:
@donaanna1243
@donaanna1243 2 жыл бұрын
Does this tutorial include registration coding?
@josephwhiteowanodelon3672
@josephwhiteowanodelon3672 2 жыл бұрын
Hey so what exactly should I change in the verifytoken file
@AmitGhosh-lj3oc
@AmitGhosh-lj3oc Жыл бұрын
change env?? can you please explain brother i am not able to connect my db with it
@jeffwang8660
@jeffwang8660 2 жыл бұрын
If you are using react-router v6, I found that you need to use the useNavigate hook, instead of useHistory (2:05:00)
@vlias500
@vlias500 2 жыл бұрын
For me, the guy who never worked with backend it was clear enogh to understand what is going on here. You have the best tutorials I have ever found on KZbin. Thank you Lama!
@jayeshpatil200
@jayeshpatil200 Жыл бұрын
Many people's facing issue while updating user time around 1:08 getting error of 500 internal server :- Fix it easily simply adding :- Const User = require (".. /models/User") ; Import this into your routes/ user.js file it's work.
@subhamdas943
@subhamdas943 Жыл бұрын
Thank you so much
@macjelly1259
@macjelly1259 2 жыл бұрын
For query strings it probably would be more efficient to use req.query as a filter for mongoose.find() method. As category query string does not match "categories" in the product schema, you could destructure req.query, build a custom object and pass it into the .find() method: const { category, ...rest } = req.query; const query = {...rest}; if(category) query.categories = category; const products = await Product.find(query); Otherwise, you'd have to write lines of if statements
@memesnow1324
@memesnow1324 Жыл бұрын
hey macjelly1259 (1:44:50) i am facing this problem , when i try to upload more than one orders { "index": 0, "code": 11000, "keyPattern": { "userId": 1 }, "keyValue": { "userId": "650d4c4e6f828889a5534c4b" } } can u help me?
@sunerose
@sunerose Жыл бұрын
Thanks lama, part 2 completed. Your course is a great complement to my fullstack course I've completed last year. It helps me to stay in webdev process before I get my first job.
@mrsecretstatus9999
@mrsecretstatus9999 Жыл бұрын
did u completed is project, I am new MERN stack shall follow this tutorial for this project or not
@sunerose
@sunerose Жыл бұрын
@@mrsecretstatus9999 I've finished FullStack course, so a lot of this thing are clear for me. But that took me 1 yr. I recommend o learn the basics and then improve skills with this project.
@newbieguy2509
@newbieguy2509 Жыл бұрын
1:13:04 help me here unable to get the user
@funnjoy2499
@funnjoy2499 Жыл бұрын
@sunerose please help me i got stuck at some point and unable to debugg bro
@hasanfuad6631
@hasanfuad6631 2 жыл бұрын
Take my love LAMA DEV. I think you're the most underrated youtuber on YT. Globally only 65.5k Subscribers!! Unbelievables!! People consumes typcal motivational speech more rather than these gems!
@jamesvongampai5592
@jamesvongampai5592 2 жыл бұрын
47:35 For /login route I had to check in an "IF" statement and return the res.status().json() for checking wrong password & wrong username or else I got an error "Cannot set headers after they are sent to the client". I believe this is because the code will still try to execute the following lines even after a response has been sent.
@elladumpsterfire
@elladumpsterfire 2 жыл бұрын
I had to do the same thing! Glad to know it's not just doing that on my laptop.
@vineetnair2989
@vineetnair2989 2 жыл бұрын
i've been searching this for hours. Thank you !!!
@anthonyezeh6736
@anthonyezeh6736 2 жыл бұрын
@@elladumpsterfire I swear, it had me wondering what was wrong or days.
@longle7045
@longle7045 2 жыл бұрын
Can I see your if statement? 'Cuz mine hasn't been working
@juniorbangs9823
@juniorbangs9823 2 жыл бұрын
@@longle7045 make sure your putting 'return res.status()...' in if statement block
@EsRicardo
@EsRicardo 2 жыл бұрын
"If you are confused, just watch it again" I love him, is my first time deal with backend and so far the code is working, but I'd like understand more some concepts deeply, for sure I have to watch this tutorial at least 3 times. Good tutorial Lama.
@ekundayotemidayo6923
@ekundayotemidayo6923 2 жыл бұрын
please can you share source code for reactStripe
@EsRicardo
@EsRicardo 2 жыл бұрын
@@ekundayotemidayo6923 Hello, please don't pay attention to the stripe part, he just showed it, to explain it, but if you follow the next tutorial you going to see the explanation step by step of stripe
@donaanna1243
@donaanna1243 2 жыл бұрын
Does this tutorial include registration page connection with the app?
@thuanbiro
@thuanbiro 2 жыл бұрын
Noitice in 09/2022 (React Router v6): - use: instead of - use: instead of - use: import { useNavigate } from 'react-router-dom' instead of { useHistory } from 'react-router-dom' and navigate('/success') instead of history.push('/success') (sry my bad Eng) - Thank you Lama for all your contributions for dev community, hope to see more of your project in the next time.
@pillel4811
@pillel4811 2 жыл бұрын
I dont get backend info to console after i use pay link. could you tell what i have to change in pay.jsx fail? i have it like it is in the video
@zaiba4098
@zaiba4098 2 жыл бұрын
tanks bro
@danielalejandrojimenezgonz6593
@danielalejandrojimenezgonz6593 Жыл бұрын
Thanks bro!
@ОлексійКудряшов
@ОлексійКудряшов 3 жыл бұрын
Hey Lama Dev! thank's a lot for your great work, all these amazing tutorials and skill sharing! I've learned so much from your videos on React and Node... I wish your channel 1M followers asap since it provides great content and value for beginners. Cheers! Bought few coffees as well))
@LamaDev
@LamaDev 3 жыл бұрын
Thank you so much :)
@elektrohands
@elektrohands 2 жыл бұрын
@@LamaDev Dear Lama, Where can I download the source code for the React app in 01:51:04 "Stripe React.js Implementation" part? Thanks a lot! Pay.jsx Success.jsx App.jsx
@shivangbhardwaj3165
@shivangbhardwaj3165 2 жыл бұрын
@@elektrohands same query
@guillaumefazekas9474
@guillaumefazekas9474 2 жыл бұрын
Same question!
@musictech166
@musictech166 2 жыл бұрын
@@LamaDev all of your efforts Sir, give it keep, ALl the best
@harrisonekpobimi4764
@harrisonekpobimi4764 3 жыл бұрын
Thanks for all these worthwile projects. You have truly come through for the most of us. If you got the time, we would love a MERN project with Auth including PasswordReset, Email Signup Flow etc
@sobhansefidkar2898
@sobhansefidkar2898 10 ай бұрын
So greate i am an irani and my English is not so good but he explains very clearly and use useful words to explain i think all people can use this video to improve their skills Thanks of lama dev😉🌹
@dalyryl
@dalyryl 3 жыл бұрын
followed everything but got stucked on the last part........................................................ AFTER AN HOUR I MANAGED TO FIGURE OUT THE fault. you will get a 500 internal server error and reflect an authentication error if you put const stripeRoute = require("./routes/stripe"); before dotenv.config();
@danielojeda7753
@danielojeda7753 3 жыл бұрын
Thank you man!!
@dalyryl
@dalyryl 3 жыл бұрын
@@danielojeda7753 no prob brother, we can create small discord group for aspiring nodejs devs if you want
@emanuelameh5722
@emanuelameh5722 3 жыл бұрын
This was helpful. Thanks a lot!
@danielojeda7753
@danielojeda7753 3 жыл бұрын
@@dalyryl will be great.
@erdenedavaasharavdorj9891
@erdenedavaasharavdorj9891 3 жыл бұрын
Thank you, you saved a lot of time from confusing.
@ashikurrahman5729
@ashikurrahman5729 3 жыл бұрын
Whenever I open KZbin for MERN project, all the time I have visited your channel al least one time. You are good teacher ever for me. May Allah bless you. Be happy & Healthy always. Love from Bangladesh.
@patrykszindler7215
@patrykszindler7215 2 жыл бұрын
If you have a problem with "MongoAPIError: URI must include hostname, domain name, and tld" then first check if you have special characters like !, @, # etc in your password. If you have them, you need to translate them into hex, otherwise the uri string will be misunderstood by the Mongo client. For example, we have a password: p@ssw0rd!, write it like this: p%40sww0rd%21. It should work ;)
@SausageRoll4u
@SausageRoll4u 2 жыл бұрын
Thank you soooooooooooooooooooooooooooooooooo much!
@PRADEEPKUMAR-uh7lo
@PRADEEPKUMAR-uh7lo Жыл бұрын
Thankuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuu 👍👍👍👍👍
@tarungupta2198
@tarungupta2198 Жыл бұрын
Thanks for the info. Was stuck here.
@ojiinnocent9117
@ojiinnocent9117 3 жыл бұрын
I call you the Robinhood of MERN stack web applications cos no youtube channel would teach for free all you have been giving out. I must make fortune from your wealth of knowledge that you share with us and I will pay my homage someday soon
@denisgitau3600
@denisgitau3600 2 жыл бұрын
Great work holding our hand as we walk through our development endeavors! Thanks a mill!
@juwonakande6320
@juwonakande6320 3 жыл бұрын
this guy is the best teacher ever the content of his video improves your skill on every side from front-end to back-end
@Kermin00
@Kermin00 3 жыл бұрын
Another great tutorial! Thanks, Lama, you are really improving my js knowledge. If i become js developer, it will be thanks to you!
@preshndams
@preshndams 3 жыл бұрын
Lama Dev you're the best. Much appreciated from Nigeria
@thanhtran_17
@thanhtran_17 3 жыл бұрын
Where can I download the source code for the React app in 01:51:04 "Stripe React.js Implementation" part? Thanks a lot!
@pablocontino4794
@pablocontino4794 3 жыл бұрын
Necesito saber lo mismo. Estoy perdido en el repositorio.
@dsddsfdvcvcsf
@dsddsfdvcvcsf 2 жыл бұрын
@@pablocontino4794 hi. do u find this code ?
@sultanhboush2065
@sultanhboush2065 2 жыл бұрын
Hello, did you find a way to complete the react app?
@alienalien9288
@alienalien9288 2 жыл бұрын
did u ever find it?
@alienalien9288
@alienalien9288 2 жыл бұрын
@@sultanhboush2065 did u ever find it?
@ojaspalorkar7434
@ojaspalorkar7434 2 жыл бұрын
Best KZbin Channel for Project Building !!!!!!!!!!!
@rafael.p.ferreira
@rafael.p.ferreira 2 жыл бұрын
There's a major error in this tutorial. If you don't use "return" when calling res.send() or res.json(), the function will never finish and you will be unable to submit any new HTTP requests to the server. Otherwise, it's a pretty good tutorial. Thank you!
@vishnuvarthan1739
@vishnuvarthan1739 Жыл бұрын
thank you so much!!
@Laura-bm8oo
@Laura-bm8oo Жыл бұрын
Thank you! I tried to figure out why it breaks after a few attempts and it fixed the issue 😄
@allenlinogon2036
@allenlinogon2036 Жыл бұрын
The log in will prompt in Postman as incorrect password though the registration is the same password I use still get error 401
@mrsecretstatus9999
@mrsecretstatus9999 Жыл бұрын
did u completed is project, I am new MERN stack shall follow this tutorial for this project or not
@vishnuvarthan1739
@vishnuvarthan1739 Жыл бұрын
@@mrsecretstatus9999 some errors may occur due to some deprecation. You can easily fix them
@air_kene3419
@air_kene3419 3 жыл бұрын
Most underrated programming KZbinr.
@vibhavjoshi1818
@vibhavjoshi1818 Жыл бұрын
Hey lama great tutorial. Also for everyone we can actually use inbuilt JavaScript function to encrypt and Decrypt the password for Encryption : btoa(req.body.password) ; For Decryption : atob(req.body.password) ;
@VishalSharma-nc7uy
@VishalSharma-nc7uy Жыл бұрын
Hey Lama!! From where can i download the react files for the React app in 01:51:10? Is the react implementation done in the same e-commerce-api project or did you make a different project for this? I'm stuck here and any help would be appreciated.
@ezeemmanuel
@ezeemmanuel Жыл бұрын
Did you get this?
@VishalSharma-nc7uy
@VishalSharma-nc7uy Жыл бұрын
@@ezeemmanuel na, I just wrote it by repeatedly pausing his video as he shows it. Also his stripe implementation didn't work
@ferdinandeke9590
@ferdinandeke9590 3 жыл бұрын
Lama came through... love you bro...been waiting for this all week.
@raphaelthibaut2038
@raphaelthibaut2038 3 жыл бұрын
Damn I followed many courses about NodeJS, Express, MongoDB and so on... And your 10 first minutes solved many questions I had, that I couldn't figured out. And your course is free, that insane. You truly deserve a Coffee ☕
@MediamatchSE
@MediamatchSE 2 жыл бұрын
What happened at 1:51:04 ??? It feels like you skipped a part here. Everything was fine and worked well until this point. Now I'm completely lost and at 1:52:00 I don't know what you are doing any more. Where do you add the files you "created"? The React code?
@dsddsfdvcvcsf
@dsddsfdvcvcsf 2 жыл бұрын
Hello ! Do u find the code from second part?
@emirguler1156
@emirguler1156 2 жыл бұрын
We missed the first part of this app. Come to the current episode by watching this video. kzbin.info/www/bejne/mWLbhXeJfr2cqpo .He completes the front end in this video and It continues at 1.51 "Keep Coding"
@jellycoding
@jellycoding 2 жыл бұрын
@@emirguler1156 You must have skipped over a video or something? That isn't from this.
@emirguler1156
@emirguler1156 2 жыл бұрын
@@jellycoding There's a video he missed
@jellycoding
@jellycoding 2 жыл бұрын
@@emirguler1156 Yea I know. He should add the missing video.
@godwinizekor7183
@godwinizekor7183 2 жыл бұрын
I love you for real... I was afraid to learn react, but you have opened the world for me
@tkpcompshd9924
@tkpcompshd9924 3 жыл бұрын
Hi Lama, it that possible you give the source code of the test for stripe payment with the component pay and success ? thanks
@Short_Storm
@Short_Storm 3 жыл бұрын
Finally, it is here. This video will be remembered in good memories. Cannot thank you enough.
@jakub7048
@jakub7048 3 жыл бұрын
1:49:30 I think the amount passed to stripe shouldn't come from the client side, it should be calculated within the route function
@sheyzi_
@sheyzi_ 2 жыл бұрын
Yh... They could send a false amount
@lyzerbautista6513
@lyzerbautista6513 2 жыл бұрын
How do you resolve this?
@ojasdighe991
@ojasdighe991 2 жыл бұрын
@@sheyzi_ but user is not calculating amount, user only selects which items to pick and their quantity, amount will be decided automatically
@sheyzi_
@sheyzi_ 2 жыл бұрын
@@ojasdighe991 It is still a risk... What if the request isn't coming from the front-end A better way is to receive the Id and quantity then check the price of the product from the db and multiply it with the quantity. Do that for all the items in the cart and add all of the derived price together as the total price then send that to stripe
@sheyzi_
@sheyzi_ 2 жыл бұрын
@@lyzerbautista6513 ☝️
@KathleenLucas-o8x
@KathleenLucas-o8x 4 ай бұрын
I love you Lama there were some hiccups due to outdated code I think but it was resolved with assistance from chat gpt I wish you good luck and good life wherever you are man I will proceed to this next video I really needed this go get my certification ❤I really appreciate it hope this message finds you well
@tevzkristan1315
@tevzkristan1315 2 жыл бұрын
2:02:28 I'm getting "Request failed with status code 500" error can someone please help me?
@starkeffecto
@starkeffecto 2 жыл бұрын
Same error. Is there anyone who can help us
@manhlamviec2647
@manhlamviec2647 6 ай бұрын
same
@narayadewe7979
@narayadewe7979 3 жыл бұрын
I Finally finished the project, now I understand how to link both sides, THANK YOU SO MUCH :)!!!
@aledc777
@aledc777 2 жыл бұрын
it that possible you give us the source code of the test for stripe payment with the component pay and success ? thanks
@toseebbeg1041
@toseebbeg1041 Жыл бұрын
can u please share your source code
@shiestypooo1016
@shiestypooo1016 3 жыл бұрын
Awesome content. I did your part one and now doing this. This was a great project and also great how you get right to point of things. Keep up the great work you earned a lifetime subscriber here!
@shradhanjalibiswal746
@shradhanjalibiswal746 2 жыл бұрын
How did you got the code for the react-stripe ?? is it creating a new folder and then again cloning the react ?
@aasthagoyal5059
@aasthagoyal5059 2 жыл бұрын
@Shiesty pooo Are u able to run complete program?? and How??
@vineetnair2989
@vineetnair2989 2 жыл бұрын
can you please share the code for react-stripe
@LL-dd7qg
@LL-dd7qg 3 жыл бұрын
Hi Lama, this is the first time I found you and I am so impressed. Thanks a lot!
@kamilkarchut8362
@kamilkarchut8362 2 жыл бұрын
Now code like: !user && res.status(401).json("Wrong username!") couses problems with api, it should be changed to: if(!user) { res.status(401).json('Wrong username!'); return;}
@biso1552
@biso1552 2 жыл бұрын
you legend, thanks a lot :)
@ajaysri004
@ajaysri004 3 жыл бұрын
Loved the way you teach Safak. Keep doing these there is a need to people like you in the society.
@boonchon64
@boonchon64 2 жыл бұрын
For the stripe part, the files for Pay.Jsx, App.Jsx and Success.Jsx are in the src folder. How are they linked to the rest in API folder ?
@josianerocha552
@josianerocha552 2 жыл бұрын
I also wanted to know, do you think?
@cassiekim4321
@cassiekim4321 Жыл бұрын
I'm stuck here also please help me guys
@AbdulWahab-ke4bh
@AbdulWahab-ke4bh 2 жыл бұрын
This is the best video in my whole learning phase of web development, period!
@MarkA12
@MarkA12 3 жыл бұрын
if you have an error when payment(Api-key undefined), take //const stripe = require("stripe")(process.env.STRIPE_KEY)// inside ...router.post...
@riccardobellinello5074
@riccardobellinello5074 3 жыл бұрын
Thank you!
@danieldumitrache9372
@danieldumitrache9372 3 жыл бұрын
Thanks! I was trying to figure out just how to fix this
@XxSouIxX
@XxSouIxX 3 жыл бұрын
Thank you! ❤️
@ranuchaubey90
@ranuchaubey90 2 жыл бұрын
still gettig error
@muhammadroby2892
@muhammadroby2892 7 ай бұрын
thank you my bro
@8pro53
@8pro53 3 жыл бұрын
Thank you for this lesson but I would like to know if is possible to give us the like for the React App you used to for stripe payment. Thank you
@sultanhboush2065
@sultanhboush2065 2 жыл бұрын
Hello, did you fine the source code for it? or did you find a way to complete it?
@vineetnair2989
@vineetnair2989 2 жыл бұрын
@@sultanhboush2065 hello sultan. Did you find the source code?
@sandyGamer97
@sandyGamer97 2 жыл бұрын
@@vineetnair2989 its very easy, you create two routes , implement react router dom then add two componets, route those components. then add stripe checkout, thats it, take the token id given by stripe , pass it to the backend , your payments will be visible
@penguincoding1353
@penguincoding1353 2 жыл бұрын
Get Method 1:11:57 //Get All User 1:13:07 //Get User Stats 1:15:55 ///route/product.js 1:22:00 //Cart.js 1:32:15
@klhmia
@klhmia 2 жыл бұрын
For the user passwords, would it not be more secure to one-way hash the passwords and compare hashes based on the secret key as opposed to encryption with AES? Thank you for another amazing and educational video!
@-seoulair
@-seoulair Жыл бұрын
You responded to your own question
@mizzo995
@mizzo995 2 жыл бұрын
You're incredible I'll buy you coffee for real... Not many people offer such good teachings
@markadvincula5297
@markadvincula5297 2 жыл бұрын
Omg this is so relaxing I nver thought I've been already at it for almost 30 mins lol! Subscribed man, keep it up
@harunyeni1845
@harunyeni1845 Жыл бұрын
You are the best man who i have seen so far in that area. thanks for videos.
@ferdinandeke9590
@ferdinandeke9590 3 жыл бұрын
for some reasons i dont know why paypal transactions doesnt work here, my card keeps getting rejected, but if you have a crypto wallet address you can share so one can send some USDTs, that will be awesome please..the content here is priceless man.. I got very comfortable with react here and I'm even implementing concepts i learnt here in Next.js with the knowledge i got here. Cheers bro
@abmilan
@abmilan 2 жыл бұрын
22:00 if you are getting an error showing mongoose.schema it is not a constructor then you have to declare the schema first as const scheme = mongoose.Schema; then use it in it's place. const UserSchema = new Scheme({ this worked for me.
@zourdy697
@zourdy697 3 жыл бұрын
dude I love you man, you doing a great job sharing a knowledge for FREEEE with the newbies
@komailniazi7483
@komailniazi7483 3 жыл бұрын
You are amazing man your contribution to the programing world is remarkable....HATS OFF !!!!!
@nsikakessien
@nsikakessien 3 жыл бұрын
You're doing well Lama, thanks sincerely for all these contents.
@taido2429
@taido2429 2 жыл бұрын
I have one word for you => "wonderful 💯" Thank you for this ❤
@sambathsuong5229
@sambathsuong5229 3 жыл бұрын
You are a good teacher of React JS.
@brilliantatosam
@brilliantatosam 3 жыл бұрын
I just finished the api part of this series. I have learned new things and I love it. If it is possible, kindly make a tutorial for advanced MongoDB queries
@youtubecodinggithub6145
@youtubecodinggithub6145 2 жыл бұрын
bro i have some douts and things to talk with you regarding the admin section of the video if you were free feel free to reply
@ritviksardana3893
@ritviksardana3893 2 жыл бұрын
@@youtubecodinggithub6145 wassup?
@toseebbeg1041
@toseebbeg1041 Жыл бұрын
bro can you help me , in that strip part 1.51.04 can youplease tell in which folder he has created that react app , or can you share your github
@newbieguy2509
@newbieguy2509 Жыл бұрын
​@@toseebbeg1041 check his GitHub , link in the description
@abcdddddd1234
@abcdddddd1234 2 жыл бұрын
47:39 if you are encountering Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client, writing an if else clause to make sure only one http response being sent to the body at a time will solve the problem
@aureleguitard
@aureleguitard 2 жыл бұрын
Hey have been strugling with this. I always get a 500 error on postman. Do you have a git repo I can check what you've did ?
@aureleguitard
@aureleguitard 2 жыл бұрын
@Uscauk Uscauk Hey have been strugling with this. I always get a 500 error on postman. Do you have a git repo I can check what you've did ?
@allenlinogon2036
@allenlinogon2036 Жыл бұрын
I also get error node:internal/errors:491 ErrorCaptureStackTrace(err); ^ Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client This usually Happens whenever I log in with correct username and password and the output is always "Wrong Password"
@manikandanmk2959
@manikandanmk2959 2 жыл бұрын
Really great work lama. lot of my friends learning from your videos. and your voice also really great. thank you lot...
@pranavyeole102
@pranavyeole102 3 жыл бұрын
This channel is a hidden gem omg
@yoga4491
@yoga4491 3 жыл бұрын
This should be a paid course, your works is incredible, i'm waiting for another your great project, thanks Lama ! Greeting from Indonesia !
@goldchannel4857
@goldchannel4857 3 жыл бұрын
What a big content you share with us thanks man you are doing big thing to us
@ramsir011
@ramsir011 2 жыл бұрын
lama dev is really awesome. I am learning great things every time i watch your video
@martinlupa8692
@martinlupa8692 3 жыл бұрын
You are amazing Lama! Thank you for all the knowledge you share!
@HydraStar01
@HydraStar01 2 жыл бұрын
very clean and nice code, also useful for beginners or people trying to have a refresher of the mern stack. thank you!!
@dennisngari1074
@dennisngari1074 3 жыл бұрын
You are really great man.. May all your dreams come true
@bikidas5473
@bikidas5473 3 жыл бұрын
I don't have words,i will support you once i earn and this is my promise
@iqbal5942
@iqbal5942 3 жыл бұрын
same
@iftikhar_hussain
@iftikhar_hussain 3 жыл бұрын
Your speaking is good, way of teaching also good overall you're great, Thanks
@adamaraga4610
@adamaraga4610 3 жыл бұрын
Thank you lama Dev for All your amazing project. I am a huge fan of your work.
@HelloWorld-bp1np
@HelloWorld-bp1np 2 жыл бұрын
Ok, if you have problems with stripe Authentication API KEY or something like this there what you need to do: 1. Just move to start of the file your dot.env() requires in the index.js file (Backend folder (API)) it needs to be included before you require stripe. Another problem you can find is useHistory hook in react. But it's old and deprecated. You need use different hook called by useNavigate instead of useHistory.
@arminedemirchyan9175
@arminedemirchyan9175 2 жыл бұрын
Your comment helped me a lot. Thank you❤
@mrcoder96
@mrcoder96 Жыл бұрын
:5000/api/checkout/payment:1 Failed to load resource: the server responded with a status of 500 (Internal Server Error) Pay.jsx:54 AxiosError code : "ERR_BAD_RESPONSE" config : {transitional: {…}, adapter: Array(2), transformRequest: Array(1), transformResponse: Array(1), timeout: 0, …} message : "Request failed with status code 500" name : "AxiosError" request : XMLHttpRequest {onreadystatechange: null, readyState: 4, timeout: 0, withCredentials: false, upload: XMLHttpRequestUpload, …} response : {data: {…}, status: 500, statusText: 'Internal Server Error', headers: AxiosHeaders, config: {…}, …} stack : "AxiosError: Request failed with status code 500 at settle (localhost:3000/static/js/bundle.js:50543:12) at XMLHttpRequest.onloadend (localhost:3000/static/js/bundle.js:49251:66)" [[Prototype]] : Error
@danielalejandrojimenezgonz6593
@danielalejandrojimenezgonz6593 Жыл бұрын
@@mrcoder96 im having the same problem :(
@insaf_mahdhaoui2625
@insaf_mahdhaoui2625 Жыл бұрын
@@danielalejandrojimenezgonz6593 Me too 😢
@insaf_mahdhaoui2625
@insaf_mahdhaoui2625 Жыл бұрын
@@danielalejandrojimenezgonz6593 do you got any solution for that, i have the same error
@ladylove2031
@ladylove2031 3 жыл бұрын
I wish I could just keep tapping the like button!!! Great works
@bhaveshkumar6842
@bhaveshkumar6842 2 жыл бұрын
Just make sure that you tap it odd number of times
@newbieguy2509
@newbieguy2509 Жыл бұрын
1:13:04 i m stuck here , can anyone help me here , i m still getting the message in postman u r not allowed to do that
@talhetech
@talhetech Жыл бұрын
Lama, you are great, this tutorial helped me a lot
@L_informatique_FanTom
@L_informatique_FanTom Жыл бұрын
Thanks a lot Lama Dev for your great work, you're amazing
@darray.
@darray. 2 жыл бұрын
Hi Lama, great tutorial. Just a question, arond the 1:40:00 mark, in the Order aggregation, using the $project operator. Why do you wrap the $createdAt operator in quotation marks when using it as an object value. E.g. 1:40:53 {month: {$month:"$createdAt}} When is it alright to wrap in quotations ''$createdAt' vs no wrapping it $createdAt. Thanks in advance if you do answer my question.
@apuemdad2070
@apuemdad2070 2 жыл бұрын
I think value of a field in your collection will be assigned with "$fieild_name"
@awaisraza2285
@awaisraza2285 3 жыл бұрын
Man you are awesome. After traversy media you are the one of the best... I follow your tutorials and its just awesome... Hope you will start next js too
@mksoftware91
@mksoftware91 2 жыл бұрын
It was amazing , especially stipe payment part!
@ttt000
@ttt000 3 жыл бұрын
1:05:22 i don't see access Token. Where?
@muadzrosli
@muadzrosli 3 жыл бұрын
Awesome content! 👍🏻 waiting for next video.
@msalameh01
@msalameh01 2 жыл бұрын
Many thanks , you deserve a million star on this video, great job 👍👍
@SandipKumarDas-b6d
@SandipKumarDas-b6d 4 ай бұрын
I learned many thing from this video. Thank you.
@iqbal5942
@iqbal5942 3 жыл бұрын
I get notification 🔔 and when open it is lama video 😍😍😍🎉🎉🎉🎉🎉🎉❤❤
@pedroacuna8505
@pedroacuna8505 3 жыл бұрын
😍😍 muchas gracias por hacer estos videos !! Thanks so mach 🙌🏾🙌🏾 Esperaba con ganas esta segunda entrega ; lo haré poco a poco 😎 muchas muchas gracias my brother ✨
@adityanigam8373
@adityanigam8373 2 жыл бұрын
Do you have a source code for the small react app you made at the end of the video at 1:51:06 ?
@debanjo_israel
@debanjo_israel Жыл бұрын
Have you seen it
@mouniaely4954
@mouniaely4954 Жыл бұрын
please help when i want to update the username in 1:08:10 it's return to me empty objet what should i do !!!
@jayeshpatil200
@jayeshpatil200 Жыл бұрын
Exactly the same issue happened with me , it return an empty object while updating a username. Anyone can help?
@jayeshpatil200
@jayeshpatil200 Жыл бұрын
Const User = require (".. /models/User") ; Import this into your routes/ user.js file it's work.
@Corntrop
@Corntrop 3 жыл бұрын
The best ecommerce on KZbin
@abaytekle21
@abaytekle21 2 жыл бұрын
best of best content on the entire planet for free Thank you so much Safak 🙏🙏🙏
@collinsmbathi8584
@collinsmbathi8584 3 жыл бұрын
thanks lama dev . am good in Node because of you 😎
@MusicMixWord
@MusicMixWord 3 жыл бұрын
bro if you are creating any playlist or full app with multiple videos .....please write in the title "part-1 or part-2" so on.... please it's a request ....and I'm a huge fan of your work. I created almost all your work. keep going.
@modinateniola772
@modinateniola772 3 жыл бұрын
Yeah,I have been searching for this second part since morning ....I have was going on and forth.....but he is good..... He deserves a million subscriber and likes
@yashkhatwani3198
@yashkhatwani3198 2 жыл бұрын
You are amazing sir . Thank you for such a detail implementation and explanation
@ossamaelidrissi2624
@ossamaelidrissi2624 3 жыл бұрын
Thank you so much mr lama for this video , love from Morroco
@arpitdogra5683
@arpitdogra5683 2 жыл бұрын
1:14:50 i thought i did something wrong, but i am not the authentication part is not working.. when i registered second user it easily done, but when i try to log in it is not happening there is the error wrong password and only first user password is working and it is working with any username if i create 5 users and entered first user password it is just log in first user. for example i entered another username with password of first user, it log in in first user.. please help me please 🙏🙏🙏
@gabyiy
@gabyiy 2 жыл бұрын
i have the same problem did you find how to fix it
@veresitakurniaayu351
@veresitakurniaayu351 2 жыл бұрын
hi, do you find the solution?
@ialtoobi
@ialtoobi 3 жыл бұрын
Thanks for sharing knowledge, very well explained and easy to understand 🙏🏼
@norbertndasi577
@norbertndasi577 2 жыл бұрын
Please how did you get the jwt which is used as the LOGIN Bearer Header???
@anthonyezeh6736
@anthonyezeh6736 2 жыл бұрын
Have you solved this? because i'm stuck here.
@norbertndasi577
@norbertndasi577 2 жыл бұрын
@@anthonyezeh6736 Not yet bro
@josianerocha552
@josianerocha552 2 жыл бұрын
Managed to solve ?
@josianerocha552
@josianerocha552 2 жыл бұрын
@@norbertndasi577 Managed to solve ?
@norbertndasi577
@norbertndasi577 2 жыл бұрын
@@josianerocha552 not yet, do u have the same problem
@dipankargiri7612
@dipankargiri7612 3 жыл бұрын
Amazing teacher 😍🤩🤩 your video very very helpfull for beginners
@jeffwang8660
@jeffwang8660 2 жыл бұрын
I found the code < const stripe = require('stripe')(process.env.STRIPE_KEY) > at 1:48:40 will end up with Stripe authentication error. So I replaced it with < const stripe = require('stripe')('my Stripe private key') >. Then it works. If you meet similar issue, you can try this, just use your own Stripe private key.
@rajusamal3350
@rajusamal3350 2 жыл бұрын
I tried to do it but its showing stripeinvalidrequesterror can you help
@jeffwang8660
@jeffwang8660 2 жыл бұрын
@@rajusamal3350 Sorry Raju. I only resolved the issue by the way I mentioned above. Please note that you have to replace 'my Stripe private key' with your own Stripe private key, and don't forget the single quotes.
@itsahsan7326
@itsahsan7326 2 жыл бұрын
Thank you so much Jeff brother!! I was stuck at this err since last night! and i just found your comment and i fixed this error now!
@jeffwang8660
@jeffwang8660 2 жыл бұрын
@@itsahsan7326 You are welcome mate. I feel good to help as far as I can:)
@mrcoder96
@mrcoder96 Жыл бұрын
Not working bro.... 😅 It's showing internal error 500 again Axios error
@vannescendana5080
@vannescendana5080 2 жыл бұрын
I ran into a problem when I input a wrong username at 47:57 . After i clicked the send button on my VS Code it said "Cannot set headers after they are sent to the client". Anyone can help me with this error?
@divewithsk
@divewithsk 2 жыл бұрын
how did you solve this error now i am also struggling with this
@gabyiy
@gabyiy 2 жыл бұрын
gabyiy 0 seconds ago i found this solving that problem if( OriginalPassword != inputPassword ){ return res.status(401).json("Wrong Password") }
Build a REST API with Node JS and Express | CRUD API Tutorial
1:01:16
JavaScript Mastery
Рет қаралды 568 М.
coco在求救? #小丑 #天使 #shorts
00:29
好人小丑
Рет қаралды 120 МЛН
BAYGUYSTAN | 1 СЕРИЯ | bayGUYS
36:55
bayGUYS
Рет қаралды 1,9 МЛН
My scorpion was taken away from me 😢
00:55
TyphoonFast 5
Рет қаралды 2,7 МЛН
JWT Authentication Tutorial - Node.js and React
1:02:54
Lama Dev
Рет қаралды 180 М.
Node.js Social Media REST API with MongoDb
1:30:31
Lama Dev
Рет қаралды 385 М.
CSS Tips And Tricks 2 | I Wish Somebody Told Me Before
12:36
Lama Dev
Рет қаралды 50 М.
Build and Deploy a Modern Full Stack ECommerce React Application with Stripe
3:34:12
Learn Git - Full Course for Beginners
3:43:34
freeCodeCamp.org
Рет қаралды 961 М.
Realtime Chat App in React Native and AWS (Backend) 🔴
3:29:01
notJust․dev
Рет қаралды 199 М.
Node.js and Express.js - Full Course
8:16:48
freeCodeCamp.org
Рет қаралды 3,6 МЛН
GCP compute(VM) provisioning using PULUMI (Ep 2)
29:37
Juyel Haque
Рет қаралды 15
coco在求救? #小丑 #天使 #shorts
00:29
好人小丑
Рет қаралды 120 МЛН