#10 Login Register Authentication in React Native with Node JS, Express JS and Mongo DB ||
Vložit
- čas přidán 19. 06. 2024
- Hello guys,
In this video I have focused on making our login and register page functional. In this video I have made register api and made our register page functional. In the next video I will focus on login.
If you are facing any issue then let me know in comments.
0:00 - Introduction / Demo
1:47 - Setup Node JS
3:05 - Install Express
3:40 - First API
7:53 - Integrate Mongo DB
10:53 - Create Register API
17:15 - Call API from React JS
22:00 - Encrypt Password
22:57 - Handle Response in React JS
Thank You. - Věda a technologie
THANK YOU! 3 days couldnt do this authentication and your video just helped me to get through this. Bless you, my friend))
Thnx. You can check out other videos too.
brother your teaching skills is too awesome anyone can easily understand☺😊😊
thank you so much your videos are amazing i understand everything and they work just fine ❤
thank you sir so much
You saved my life ❤❤
Great bro u r superb
Muchas gracias profe
thank you master
Master TY
Some suggestions for you, try to use proper folder structure for better understandings, like use MVC(Model, View, Controller) and dotenv also gitignore.
Thank you for the feedback! I'll definitely keep that in mind.
hey man can you help me out? I'm trying to do the axios post request to login, but I keep getting this error (only after typing into one of the text frields):
[TypeError: cyclical structure in JSON object]
Any idea what can cause this?
Nice video!
Where I can find your background for the profile user? its look pretty
Thanks!! These backgrounds are called as BLOB. I have used MagicPattern to generate this.
Are you using Rest API in this project or something similar to Rest API?
I am creating API to perform login authentication.
what if i build this app then i can't do npm start for the index.js to start the port ,what should i do then ? (am new to react and all :) )
Didn't get your question
run npm install
normally after the user register he should be logged in automatically no?
Yes you are correct. But this playlist is mostly for beginners so I don't want to complicate things. If you want to do login after register you can call that api in same function make sure to verify all conditions based on response.
@bilelrahmouni01 you have to implement email verification in order to login the user.
What if we use expo go in our mobile . What would be the ip then ??
It would be same it should work with that also.
@@thedebugarena actually it is not working in expo go app. Can you suggest anything please..??
Yes, good question
@@the_bat_man can you dm me on instagram we can solve the issue there
@@thedebugarena Sure
Bhai ram and pc information ℹ️
8 gb Ram, Dell inspiron 13, 500 gb SDD
I am getting Axios network error how to solve it
You can try testing your api from postman if it works there then the problem might be with you react code. If issue is still there you can dm me on instagram
mera regristaion fail kri ja rha ha
Kya issue aa rha h
@@thedebugarena hogyaa IP address system ka nhi network ka use krke houa
@@lokeshchauhan6253 👍👍
F:\MJ\MJS_B
ode_modules\mongoose\lib\mongoose.js:530
throw new MongooseError.MissingSchemaError(name);
^
MissingSchemaError: Schema hasn't been registered for model "UserInfo".
Use mongoose.model(name, schema)
at Mongoose.model (F:\MJ\MJS_B
ode_modules\mongoose\lib\mongoose.js:530:13)
at Object. (F:\MJ\MJS_B\app.js:13:23)
at Module._compile (node:internal/modules/cjs/loader:1376:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1435:10)
at Module.load (node:internal/modules/cjs/loader:1207:32)
at Module._load (node:internal/modules/cjs/loader:1023:12)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:135:12)
at node:internal/main/run_main_module:28:49
Node.js v20.10.0
[nodemon] app crashed - waiting for file changes before starting...