Тёмный

React js project # Sign up API integration 

Code Step By Step
Подписаться 296 тыс.
Просмотров 86 тыс.
50% 1

in this react js project we learn how to integration for sign up in react js project from scratch. This video is made by anil Sidhu in the English language
Make HTML form
Get Value from form
Send Data to Backend API
Store Result in LocalStorage
Test Complete Flow for API

Опубликовано:

 

8 янв 2021

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 58   
@pushpendrasharma1744
@pushpendrasharma1744 10 дней назад
Thank you so much I was searching this type of video watched many videos on RU-vid but didn't understand anything anywhere 😊
@iscwac1573
@iscwac1573 Год назад
Amazing video! thank you 😀
@jaikrishna3586
@jaikrishna3586 2 года назад
thankyou so much brother it helped a lot, I was trying since last 3 hours
@elkhanhamet2561
@elkhanhamet2561 3 года назад
thank you anil
@barca6097
@barca6097 3 года назад
thanks anil :)
@nandopookey9195
@nandopookey9195 Год назад
Thank you so much sir
@user-ik4ih7jc1u
@user-ik4ih7jc1u 11 месяцев назад
thank you dostm
@lmillan0787
@lmillan0787 Год назад
In backend from Laravel 10 use $user->name = $request->json('name') instead $user->name = $request->input('name'), at least in my case doesnt works, Greetings from Venezuela.
@theroastingershow161
@theroastingershow161 2 года назад
thanks alot
@maheshk9278
@maheshk9278 2 года назад
Hi, it appears this video is missing in your complete play list of React tutorial.
@yvannguekam9772
@yvannguekam9772 2 года назад
très bon tuto j'ai appliqué votre methode sur un de mes project ca marche avec une erreur 400 au niveau de la function async signup()
@antonioefrainfloresdeleon2366
@antonioefrainfloresdeleon2366 3 года назад
how did you learn to program?
@Graphictechanas
@Graphictechanas 3 года назад
Please tell us "Sir Anil Sidhu"
@AzeezOloto-wr3yh
@AzeezOloto-wr3yh Месяц назад
Connecting React and Node require additional dependencies like axios and cors. Does that mean React and Laravel did not require any dependency.
@MuhammadUsman-jn7yk
@MuhammadUsman-jn7yk 2 года назад
are you using react query?
@saturnfam5225
@saturnfam5225 3 года назад
how did you accessed the api backend what platform or application is it.
@mareboinaravi5272
@mareboinaravi5272 2 года назад
Postman
@roshankc6044
@roshankc6044 3 года назад
What should be done if i need to popup or show message account created like : If i create an account and the database is created . means the account created then i need to show message account create and if there is some error at backend then i have to show the user account not created like that :)
@iftakharulislam9068
@iftakharulislam9068 3 года назад
you can return status code if user is registered in the database. Now you can write your logic with the json response status
@krishnajikulkarni8775
@krishnajikulkarni8775 2 года назад
How to make user to still logged in. Even after closing browser .now in my project I logged in if I close browser without logged out and again if o open browser it's asking me to login again. How to avoid this plz help me
@Graphictechanas
@Graphictechanas 3 года назад
how did you access the API backend what platform or application is it?
@vadhadiyaabhishek1316
@vadhadiyaabhishek1316 2 года назад
Laravel 8
@RizwanKhan-yn9yb
@RizwanKhan-yn9yb 10 месяцев назад
I try it with nextjs. its showing me this error.. {message: 'CSRF token mismatch.', exception: 'Symfony\\Component\\HttpKernel\\Exception\\HttpException', file: 'D:\\xampp\\htdocs\\laravel\\laravelAPI\\vendor\\laravel\\…\\src\\Illuminate\\Foundation\\Exceptions\\Handler.php', line: 428, trace: Array(41)}
@sidohams1145
@sidohams1145 2 года назад
hi am getting this error " Fetch API cannot load localhost:8000/api/Register. URL scheme "localhost" is not supported. " please help
@chrismcculloch8381
@chrismcculloch8381 7 месяцев назад
In laravel ^10.10, if you are getting cors problems ensure that your middleware is not trying to use fruitcake and is instead using \Illuminate\Http\Middleware\HandleCors:class
@chrismcculloch8381
@chrismcculloch8381 7 месяцев назад
Then you can force your route to go through the middleware by changing your route (in /api/) to Route::middleware([HandleCors::class])->group(function () { Route::post('/register', [UserController::class, 'register']); });
@chrismcculloch8381
@chrismcculloch8381 7 месяцев назад
and include use Illuminate\Http\Middleware\HandleCors; at the top of api
@kodethat9761
@kodethat9761 6 месяцев назад
did all of that still coudnt estabilish connection with the backend, tried other random link it did send me response but not this one, always says axios Network error@@chrismcculloch8381
@kodethat9761
@kodethat9761 6 месяцев назад
any help will be appreciated, struggling since 2 days, been a laravel developer since 2 years, just started react native and this is the first blocker i m facing@@chrismcculloch8381
@tejaswinic9225
@tejaswinic9225 Год назад
Hi sir. can you please provide the github link for this project
@nandopookey9195
@nandopookey9195 Год назад
please bro, he try to make money from youtube. So if you want this project, just watch this video
@rajkushwahar
@rajkushwahar 3 года назад
Server error manage to karoge
@saddamsagar2023
@saddamsagar2023 2 года назад
this await fetch() gives me this error in console, TypeError: NetworkError when attempting to fetch resource. I have tested api route and operation is working file using postman but h=when i submit inputted data then above error shows. why and how can I fix this?
@saddamsagar2023
@saddamsagar2023 2 года назад
I found where did i mistake. Thank you.
@ekunolapaul4837
@ekunolapaul4837 2 года назад
where was the mistake i am getting the same error
@anushkasingh5073
@anushkasingh5073 Год назад
@@saddamsagar2023 where did u find mistake me too facing same error
@juhihalkara9523
@juhihalkara9523 2 года назад
i have cors error how can i solve it pls help me
@deepaknayak85init2
@deepaknayak85init2 2 года назад
everytime u have used diffrent password how to use the password u have used in backend ...!!! or else because of signup u are using diffrent password for evry user ..!!
@vratantsingh2132
@vratantsingh2132 2 года назад
Unexpected use of 'name' no-restricted-globals 'rollno' is not defined no-undef 'phone' is not defined no-undef 'password' is not defined no-undef 'address' is not defined no-undef 'email' is not defined no-undef bro its showing this error ater typing fetch command
@shocchosolutions6275
@shocchosolutions6275 3 года назад
react ke bad keya aiaga
@acla3232
@acla3232 3 года назад
13:51 im getting null in here pls help
@aaryanpurohit619
@aaryanpurohit619 2 года назад
In the console it says '[HMR] Waiting for update signal from WDS...' and also '​ Fetch failed loading: POST "127.0.0.1:8000/api/register"' for some reason? Also, it only stores some inputs on to the database, sometimes the data isn't even stored? Any ideas on how to fix this? In the network section, there are 3 register sections, one register is in red and has a 'cancelled' status.
@user-mr6ly7ql8o
@user-mr6ly7ql8o 11 месяцев назад
Sir history.push location is not working why ?
@sahilpathania9630
@sahilpathania9630 8 месяцев назад
history.push is outdated use navigate
@038aakashkhanna2
@038aakashkhanna2 9 месяцев назад
could not access the api
@chigurupati_s
@chigurupati_s 2 года назад
code plz
@Jay__Patel
@Jay__Patel Год назад
bro source code ka link?
@adfacts999
@adfacts999 3 года назад
I got an error please help me to resolve it:- Unexpected reserved word 'await'
@siidsharma5349
@siidsharma5349 3 года назад
type async before your function
@snehasinha9147
@snehasinha9147 3 года назад
i need the api collection
@rajkushwahar
@rajkushwahar 3 года назад
Abe yar koi error to manage karoge ki error bhi na aayega
Далее
React js project # Protected Routes
14:02
Просмотров 22 тыс.
THE POLICE TAKES ME! feat @PANDAGIRLOFFICIAL #shorts
00:31
React js project in Hindi # Sign up API integration
19:25
7 Years of Software Engineering Advice in 18 Minutes
18:32
These Coding Projects Give You An Unfair Advantage
14:39
React js project in Hindi # Login with API
14:02
Просмотров 31 тыс.