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?
Some suggestions for you, try to use proper folder structure for better understandings, like use MVC(Model, View, Controller) and dotenv also gitignore.
Can someone help me with this? Whenever I try to open mongodb atlas using wifi it doesn't open even tho I have added the ip address in the network access list Till evening it was working fine; When I switched to my data and added it's ip address I was no longer able to access it using wifi Now I'm only able to access it using my
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.
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
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...
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☺😊😊
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?
thank you so much your videos are amazing i understand everything and they work just fine ❤
Thank you very much for this series. Did you ever build the Google / FaceBook login on React Native? Thank you very much!!!!
Yes I did I will try to cover that as well
running on usb debugging the api is working but in the apk the api is not working any solution
@@mohderaf4296 ya it will not you will have to host the backend for that
While building the Apk of the project , do we need to change the IP address while doing POST with axios in the Database ?
Yes if you want to work with backend you have to
@@thedebugarena Thanks Sir
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.
Can someone help me with this?
Whenever I try to open mongodb atlas using wifi it doesn't open even tho I have added the ip address in the network access list
Till evening it was working fine;
When I switched to my data and added it's ip address I was no longer able to access it using wifi
Now I'm only able to access it using my
Try putting 0.0.0.0 in ip it should work for all
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
Are you using Rest API in this project or something similar to Rest API?
I am creating API to perform login authentication.
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.
Doing same process but my node js is not connecting to emulator any option like proxy or something?
Are you using localhost:3000 like this? If yes then remove that and instead of that use ip address
@@thedebugarena no I use 192.168.1.5:8082 but till not
It work for me 10.0.2.2: port number thanks for responding
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
@@wade_wilson6_9 can you dm me on instagram we can solve the issue there
@@thedebugarena Sure
Why you not pass the cors in back-end
We can
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.
Thanks!
In my case the backend in not accepting the data 🥲, bro could you please help me...🥲🥲
What error are you getting
Muchas gracias profe
Great bro u r superb
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
You saved my life ❤❤
thank you sir so much
thank you master
Master TY
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 👍👍
Bhai ram and pc information ℹ️
8 gb Ram, Dell inspiron 13, 500 gb SDD
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...