Angular 15 Authentication (Registration + Login + Role based access) using JSON server REST API

  Рет қаралды 124,241

Nihira Techiees

Nihira Techiees

Күн бұрын

Пікірлер: 190
@inesriahi2144
@inesriahi2144 Жыл бұрын
I wanted to express my gratitude for this excellent video you've provided. Thank you for sharing such valuable content.
@NihiraTechiees
@NihiraTechiees Жыл бұрын
You're very welcome!
@StorytimewithHumi
@StorytimewithHumi Жыл бұрын
Thanks a lot for uploading using Json-server API 😄
@NihiraTechiees
@NihiraTechiees Жыл бұрын
Welcome🎉
@antoniocpjunior
@antoniocpjunior Жыл бұрын
Thanks so much Bro! It's just what i need to start my project !!
@NihiraTechiees
@NihiraTechiees Жыл бұрын
Great👏
@saminserge2674
@saminserge2674 Жыл бұрын
Many thanks for this tutorial, very helpfully !
@NihiraTechiees
@NihiraTechiees Жыл бұрын
Great👍
@anmasa
@anmasa Жыл бұрын
Me ha parecido un tutorial muy bueno y muy completo, darte las gracias por tu tiempo, saludos desde España.
@NihiraTechiees
@NihiraTechiees Жыл бұрын
Thanks❤🙏
@cassianopacheco5407
@cassianopacheco5407 Жыл бұрын
Thanks, Mate! Amazing tutorial!
@NihiraTechiees
@NihiraTechiees Жыл бұрын
Thanks👍
@gayankavinda9757
@gayankavinda9757 Жыл бұрын
Thanks bro . I followed your tutorial It helps me well
@NihiraTechiees
@NihiraTechiees Жыл бұрын
Glad to hear👍
@dharmendraputtu9286
@dharmendraputtu9286 Жыл бұрын
Thank you so much for your sharing knowledge it is helpful in my interview as well
@NihiraTechiees
@NihiraTechiees Жыл бұрын
Great👍
@愛-i7y8j
@愛-i7y8j Жыл бұрын
thank you, you have helped me a lot, greetings from Bolivia...
@NihiraTechiees
@NihiraTechiees Жыл бұрын
Glad to hear👍
@akadeadahot7067
@akadeadahot7067 Жыл бұрын
informative tutorial thank you for shearing it
@NihiraTechiees
@NihiraTechiees Жыл бұрын
Glad to hear👍
@mbuachege7639
@mbuachege7639 Жыл бұрын
Great content, Thank you👊
@NihiraTechiees
@NihiraTechiees Жыл бұрын
Thanks🙏
@FullStackDevGreg
@FullStackDevGreg 10 ай бұрын
Great video to get start with Angular. I'm from React/Nextjs I'm thinking of learning angular as well. my overall impression is that the learning curve seems no too stip, Please can you advise me other tutorial on how to work with, dynamic routing, internationalisation routing, redux(observable) thank you in advance.
@NihiraTechiees
@NihiraTechiees 10 ай бұрын
Follow below video you will get most of the topic in angular kzbin.info/www/bejne/qIumgpyDmbamrqc NGRX (same as REDUX) playlist kzbin.info/aero/PLfyWdpsiUiPC7bHmDDDM6gGgfo3mgMCAC
@funcoding1797
@funcoding1797 5 ай бұрын
excellent, thanks😊👏👏👏
@NihiraTechiees
@NihiraTechiees 5 ай бұрын
Thanks🙏
@bangyuliang
@bangyuliang Жыл бұрын
A very useful tutorial
@NihiraTechiees
@NihiraTechiees Жыл бұрын
Thanks
@dattatreyakulkarni541
@dattatreyakulkarni541 9 ай бұрын
Your video is so helpful and I have one que, join option is there right, why it is , is there any tutorial videos available?
@NihiraTechiees
@NihiraTechiees 9 ай бұрын
Join option? Can you share the time stamp I used
@weixiangng8279
@weixiangng8279 6 ай бұрын
Thanks for this tutorial. Can you also implement Auth Guard for the login part?
@NihiraTechiees
@NihiraTechiees 6 ай бұрын
Sure will add in the upcoming videos
@saiyathuabdulvahafj2176
@saiyathuabdulvahafj2176 Жыл бұрын
Its a wonderful video thanks for the effort. Only one request from my side is do the authentication and authorization using jwt.
@NihiraTechiees
@NihiraTechiees Жыл бұрын
Jwt video already I have done. Can you check my angular authentication playlist
@josbexerra8115
@josbexerra8115 Жыл бұрын
Muchas gracias Mister Nihira por compartir conocimiento....
@NihiraTechiees
@NihiraTechiees Жыл бұрын
Thanks
@arshathjm
@arshathjm Жыл бұрын
Great tutorial. thanks
@NihiraTechiees
@NihiraTechiees Жыл бұрын
Thanks🙏
@vittorioeselik8022
@vittorioeselik8022 Жыл бұрын
Ottimo tutorial. Grazie
@NihiraTechiees
@NihiraTechiees Жыл бұрын
Thanks
@biplabsharma5344
@biplabsharma5344 Жыл бұрын
Amazing sir
@NihiraTechiees
@NihiraTechiees Жыл бұрын
Thanks
@anabolovic643
@anabolovic643 Жыл бұрын
Great! Thank you!
@NihiraTechiees
@NihiraTechiees Жыл бұрын
Thanks
@keshav2kumar
@keshav2kumar Жыл бұрын
If possible please make a detail video on 'how to write test cases' like this video please......
@NihiraTechiees
@NihiraTechiees Жыл бұрын
Sure will do soon
@michaelacevedo172
@michaelacevedo172 Жыл бұрын
Hi tankyou it is really usefull, but i have a mistake, the inputs form are aligned one after the other, i dont know if you gave some class to this?
@NihiraTechiees
@NihiraTechiees Жыл бұрын
Actually I am not added class. I just did in the dynamic manner (based on Formcontrol data formated)
@VijayKumar-fq4ie
@VijayKumar-fq4ie Жыл бұрын
Good Tutorial 👍🏻
@NihiraTechiees
@NihiraTechiees Жыл бұрын
Thanks❤
@Abdul-AzeezAhmed
@Abdul-AzeezAhmed 11 ай бұрын
I tried to use Angular material in a diffrent project to pop up a dialog component but it did not pop up at the center it was showing beneath the entire content of the component that trigers the pop up dialog and i followed the same steps like you did in this tutorial
@NihiraTechiees
@NihiraTechiees 11 ай бұрын
Do you have any additional css Or bootstrap in your project?
@Abdul-AzeezAhmed
@Abdul-AzeezAhmed 11 ай бұрын
Yes i do@@NihiraTechiees
@avani1511
@avani1511 Жыл бұрын
This tutorial was amazing! Helped me out a lot with my personal project. However there's just one thing I can't seen to get right .The username is being attached to the apiURL and i'm getting a 404 not found. How can I fix this? I would like for when the user logs in and submits the form for the url capture the ID as this is how my routes are set up. {path: 'cat/:id', component: CatUserProfilePageComponent},
@NihiraTechiees
@NihiraTechiees Жыл бұрын
Can you share what url you provided and your route values. Better share details to my email
@sangamithrapc6141
@sangamithrapc6141 7 ай бұрын
Sir "json-server --watch db.json" when i enter this command its shows not recognised. Should I install json first??
@NihiraTechiees
@NihiraTechiees 7 ай бұрын
Yes
@sunnygupta4201
@sunnygupta4201 9 ай бұрын
is there any video on duplicate email validation. like when yours is entering duplicate email then it will verify from db and give alter that this email is already exist
@NihiraTechiees
@NihiraTechiees 9 ай бұрын
kzbin.info/www/bejne/oKPTYpegr5V7bKc
@Jet-jet-xb8hy
@Jet-jet-xb8hy Жыл бұрын
Good tutorial, but you forgot to add error catcher in the log in. What if the user didn't register and tried enter credentials that is not yet created or registered. thank you
@NihiraTechiees
@NihiraTechiees Жыл бұрын
I got your point, but when I was planning this video it's just basic crud video. then just changed into basic registration. Upcoming videos will consider all real time facts
@brogidey860
@brogidey860 Жыл бұрын
Good tutorial bro.. It would be very helpful if you can make a tutorial on how to preview and confirm form data before submitting it to the server in angular. Thank you for this tutorial
@NihiraTechiees
@NihiraTechiees Жыл бұрын
Noted your suggestions, will include future video
@Gyannea
@Gyannea Жыл бұрын
Do you have any idea why the login screen does not respond correctly to reducing the size of the browser? When decreasing the horizontal width, the right side gets cut off. The left side does fine. I have tried all kinds of FlexBox directives (which seem to work) but I can't get the cards to shrink monotonically. The right side always gets cut off.
@NihiraTechiees
@NihiraTechiees Жыл бұрын
Will check, design point of view I am also not familier
@Gyannea
@Gyannea Жыл бұрын
@@NihiraTechiees Regardless, this a great video! I have learned a boatload.👍👍👍
@connectingdots0-0
@connectingdots0-0 Жыл бұрын
Hi, What would be the role name to add Customer detail? I am getting error "you are not authorized to access."
@NihiraTechiees
@NihiraTechiees Жыл бұрын
Follow the video hope you will get the information.
@ranjithanaikp
@ranjithanaikp Жыл бұрын
Hi, I have followed your tutorial. Till the updatepopupcompoentn its working fine, but while updating the isactive checkbox auto check is not working, and also unable to update also, its throwing 404 error on clicking update button could you please tell me where i may went wrong?
@NihiraTechiees
@NihiraTechiees Жыл бұрын
Ok let me check will update you by tonight
@ranjithanaikp
@ranjithanaikp Жыл бұрын
@@NihiraTechiees Hi , did you got the issue?
@premkishore7902
@premkishore7902 Жыл бұрын
Thanks for the video. But not getting through authentication. while submitting the login form, getting "An error occurred during registration."
@NihiraTechiees
@NihiraTechiees Жыл бұрын
What error you received?
@premkishore7902
@premkishore7902 Жыл бұрын
@@NihiraTechiees CanActivate is deprecate in latest version, so can you please update the solution, thanks in advance.
@chennaack996
@chennaack996 Жыл бұрын
Bro, Why we are using FormBuilder instead of FormGroup and FormControl. Is there any advantages?
@NihiraTechiees
@NihiraTechiees Жыл бұрын
Form builder is abstract of form group, control, array. Instead of creating new object of all items we can use form builder instance
@leenuslee
@leenuslee Жыл бұрын
Nice!
@NihiraTechiees
@NihiraTechiees Жыл бұрын
Thanks
@shreeyapatil2308
@shreeyapatil2308 9 ай бұрын
In my code, when I use auth guard in that file, it shows 'canactivate' is deprecated.
@NihiraTechiees
@NihiraTechiees 9 ай бұрын
kzbin.info/www/bejne/Z3fKhJ-sqN6qjsk
@dheerajraja9811
@dheerajraja9811 Жыл бұрын
Would be better if you can create a video for interceptor as well with complete authentication and authorization
@NihiraTechiees
@NihiraTechiees Жыл бұрын
May be in future
@mohiburrahman5639
@mohiburrahman5639 Жыл бұрын
hello can you make a video for radio button and text area display in console without button .use only click radio button. like 1st radio button is yes and the same line text area. but only one click for both. thank you
@NihiraTechiees
@NihiraTechiees Жыл бұрын
Will cover this concept in one of the upcoming crud video
@mohiburrahman5639
@mohiburrahman5639 Жыл бұрын
@@NihiraTechiees Thank you!!
@keshav2kumar
@keshav2kumar Жыл бұрын
Very nice ❤❤❤
@NihiraTechiees
@NihiraTechiees Жыл бұрын
Thanks
@anchalpatel10
@anchalpatel10 Жыл бұрын
At 30:17 when i am clicking on submit then neither it is submitting and nor it is navigating to login . I have all previous steps , they all the correct. How can i solve this?
@NihiraTechiees
@NihiraTechiees Жыл бұрын
Could you confirm whether register data stored in json file
@anchalpatel10
@anchalpatel10 Жыл бұрын
@@NihiraTechiees no it is not storing in json
@siddhantthorat3269
@siddhantthorat3269 Жыл бұрын
Authgaurd not. Working sir, class constructor authgaurd cannot be invoked without new
@NihiraTechiees
@NihiraTechiees Жыл бұрын
kzbin.info/www/bejne/Z3fKhJ-sqN6qjsk follow this video
@Gyannea
@Gyannea Жыл бұрын
I do not understand regex at all, but I think you said at least 8 characters and at least one upper case, lower case, number, and special character. But if I start my password with a number the validator regex fails. If I don't start with a number, I can create a password that passes. What can I do to allow a password to start with a number?
@NihiraTechiees
@NihiraTechiees Жыл бұрын
Honestly I am also not good making regax. I just used pattern that i got from google search. In your case just browse you can generate regax through online based on the requirements. Else watch some regax basics video
@mr_umairkhan07
@mr_umairkhan07 Жыл бұрын
SIR I WRITE SAME CODE BUT MY USER DOESNOT UPDATE it give error For url ? Why can you explain plzzz
@NihiraTechiees
@NihiraTechiees Жыл бұрын
Put console.log and find where it's breaking
@mr_umairkhan07
@mr_umairkhan07 Жыл бұрын
console Is working When A establish Role Then giving this error
@janoshollosi9570
@janoshollosi9570 Жыл бұрын
Users can overwrite key values at session storage. How can can you protect against it?
@NihiraTechiees
@NihiraTechiees Жыл бұрын
If security is the concern we can encrypt and store
@ranjithanaikp
@ranjithanaikp Жыл бұрын
HI, I have folowed your tutorial, after creating complete registration, when clicked on submit, its going to else part, showing please enter valid data, please help me with this code.
@NihiraTechiees
@NihiraTechiees Жыл бұрын
Can you share the data you passed and reactive form declaration
@ranjithanaikp
@ranjithanaikp Жыл бұрын
@@NihiraTechiees export class RegisterComponent implements OnInit { constructor(private _formBuilder: FormBuilder, private _toastr: ToastrService, private _authService: AuthService, private router: Router) { } ngOnInit(): void { } registrationForm = this._formBuilder.group({ id: this._formBuilder.control('', Validators.compose([Validators.required, Validators.minLength(5)])), name: this._formBuilder.control('', Validators.required), password: this._formBuilder.control('', Validators.compose([Validators.required, Validators.pattern('(?=^.{8,}$)((?=.*\d)|(?=.*\W+))(?![. ])(?=.*[A-Z])(?=.*[a-z]).*$"')])), email: this._formBuilder.control('', Validators.compose([Validators.required, Validators.email])), gender: this._formBuilder.control('male'), role: this._formBuilder.control(''), isActive: this._formBuilder.control(false), }) proceedRegistraion(){ if(this.registrationForm.valid){ this._authService.proceedRegister(this.registrationForm.value).subscribe(data=>{ console.log("success") this._toastr.success('Please contact admin for enable access','registered successfully'); this.router.navigate(['login']) }) } else{ console.log("failure") this._toastr.warning("Please enter valid data") } } } form: username Name Password Email Male Female Submit Back to Login
@ranjithanaikp
@ranjithanaikp Жыл бұрын
@@NihiraTechiees I think problem is with the password field. after entering proper password the field still looks red color.
@NihiraTechiees
@NihiraTechiees Жыл бұрын
I hope we used pattern validation for password so time being remove pattern validation. I will verify pattern validation if any findings share with you. If possible try to join the membership
@ranjithanaikp
@ranjithanaikp Жыл бұрын
@@NihiraTechiees yes its working, i removed password validation, but why the problem with validation?
@av_0211
@av_0211 Жыл бұрын
13:33 ---- Error: Can't resolve 'node_modules/ngz-toastr/toastr.css' in 'D:\angular\first'
@NihiraTechiees
@NihiraTechiees Жыл бұрын
Did you installed toaster package
@av_0211
@av_0211 Жыл бұрын
@@NihiraTechiees yes resolved
@av_0211
@av_0211 Жыл бұрын
@@NihiraTechiees 31:33 my form is not submitting. sumbit button is not working and getting data in db.json as well.. can't see registered successful message
@shraddhachaudhari7842
@shraddhachaudhari7842 11 ай бұрын
Same submit button isn't working
@shraddhachaudhari7842
@shraddhachaudhari7842 11 ай бұрын
Will it work using Angular16 actually data is not adding after clicking submit btn
@NihiraTechiees
@NihiraTechiees 11 ай бұрын
It will work. Can check step by step you missing data?
@karthick.b5071
@karthick.b5071 Жыл бұрын
Hi bro, I tried your guidelines, but stuck in datasource in mattable is not working
@NihiraTechiees
@NihiraTechiees Жыл бұрын
Chek material ui version in package.json and confirm have you imported mattablemodule
@archanabarsagade2699
@archanabarsagade2699 Жыл бұрын
canActivate is deprecated .. how to solve this?
@NihiraTechiees
@NihiraTechiees Жыл бұрын
What is your angular version?
@archanabarsagade2699
@archanabarsagade2699 Жыл бұрын
@@NihiraTechiees Angular CLI: 15.2.7 Node: 18.16.0 Package Manager: npm 9.5.1
@NihiraTechiees
@NihiraTechiees Жыл бұрын
Sorry for the late reply from angular 15.2 canActivate deprecated so we have to use CanActivateFn follow the below code export const auto1Guard: CanActivateFn = (route, state) => { return true; };
@ichraknajar91
@ichraknajar91 Жыл бұрын
hello sir i dont know why but i have a problem while executing this command ng c register (Error: This command is not available when running the Angular CLI outside a workspace.) just in this project but in other anglar project its working .please some help .
@ichraknajar91
@ichraknajar91 Жыл бұрын
problem solved
@NihiraTechiees
@NihiraTechiees Жыл бұрын
Great👍. Ng g c register. Even I too typed wrongly
@DINESHKUMARC-sp4lq
@DINESHKUMARC-sp4lq Жыл бұрын
sir pls upload all type of videos in tamil tamil la English's videos irrugu but tamil la videos illa pls consider this one and pls upload tamil
@NihiraTechiees
@NihiraTechiees Жыл бұрын
Don't have enough time bro, will consider your request soon
@earvinemunene1744
@earvinemunene1744 Жыл бұрын
am submitting the registration details its not storing them in the db why?
@NihiraTechiees
@NihiraTechiees Жыл бұрын
Can you debug, where it's lost the data. Also check if any issues
@rashmitakamble5843
@rashmitakamble5843 Жыл бұрын
I am getting the error for the ' localhost:3000'. Err_connection_refused
@NihiraTechiees
@NihiraTechiees Жыл бұрын
May the the port number already in use so try with other port number ex. 8000
@jhonnidarshan3094
@jhonnidarshan3094 Жыл бұрын
Hi bro , can you make video on authorization in lambada in aws gateway with angular integration
@NihiraTechiees
@NihiraTechiees Жыл бұрын
Sure will do in future
@MalikKamranKhalil
@MalikKamranKhalil Жыл бұрын
Hi bro , can you make video on authorization in CASL with angular integration?
@NihiraTechiees
@NihiraTechiees Жыл бұрын
I am not familier in CASL, will try
@HtooA-h2i
@HtooA-h2i Жыл бұрын
Thanks.
@NihiraTechiees
@NihiraTechiees Жыл бұрын
Welcome
@durga.k.b.durga.kb.8941
@durga.k.b.durga.kb.8941 5 ай бұрын
My error is not recognized for internal external command how to add
@NihiraTechiees
@NihiraTechiees 5 ай бұрын
Could you share more details to my email
@new_contents_all_day
@new_contents_all_day Жыл бұрын
if you add user password in json server , any one can view the data in jason server , so is this safe ?
@NihiraTechiees
@NihiraTechiees Жыл бұрын
Json server is kind of fake api (only used for study or development). Real-time you have to use separate api
@new_contents_all_day
@new_contents_all_day Жыл бұрын
@@NihiraTechiees oh okay, so I have to use something like MySQL and all
@superuser8636
@superuser8636 Жыл бұрын
You need to hash the password
@new_contents_all_day
@new_contents_all_day Жыл бұрын
@@superuser8636 bro, yeah I thought about it, we need a whole server running in another port and angular running in separate port , the whole db logic must run in server .. but this is very cumbersome
@superuser8636
@superuser8636 Жыл бұрын
@@new_contents_all_day Welcome to full-stack programming where that's standard practice.. You can use the bcrypt library for hashing your passwords
@davebudah
@davebudah Жыл бұрын
First comment
@NihiraTechiees
@NihiraTechiees Жыл бұрын
💪🤝👍
@serignecheikhahmettidianes7085
@serignecheikhahmettidianes7085 Жыл бұрын
Very good work. Can I have your Backend code of angular application.
@NihiraTechiees
@NihiraTechiees Жыл бұрын
Backend use json server api (it's kind of fake api)
@serignecheikhahmettidianes7085
@serignecheikhahmettidianes7085 Жыл бұрын
@@NihiraTechiees okay thanks you
@mohiburrahman5639
@mohiburrahman5639 Жыл бұрын
can i contact with you by phone for some problem about Angular!! please
@NihiraTechiees
@NihiraTechiees Жыл бұрын
Share your number
@christopher.r0104
@christopher.r0104 Жыл бұрын
how to i add menu in json array in this project
@NihiraTechiees
@NihiraTechiees Жыл бұрын
You can keep in array. Based on the data we can generate menu dynamically
@noraitafti74
@noraitafti74 8 ай бұрын
toast notifications are not working for me :(
@NihiraTechiees
@NihiraTechiees 8 ай бұрын
Have you followed all steps?
@noraitafti74
@noraitafti74 8 ай бұрын
@@NihiraTechiees I had to add some lines in app.config and now is working
@ananthualpd
@ananthualpd Жыл бұрын
sessionStorage geting null vale? pls help sir
@NihiraTechiees
@NihiraTechiees Жыл бұрын
Did you set the value in session
@ananthualpd
@ananthualpd Жыл бұрын
@@NihiraTechiees Thanks for your reply sir, I am new to angular, I just follow your steps. How to set the value in session?
@NihiraTechiees
@NihiraTechiees Жыл бұрын
Ok can you share the files to my mail. I will check and let you know by tmrw
@ananthualpd
@ananthualpd Жыл бұрын
@@NihiraTechiees Sorry sir, I re-watched full video, i missed the portion where the setItem. Thanks for your valuable time..
@durga.k.b.durga.kb.8941
@durga.k.b.durga.kb.8941 5 ай бұрын
How to add the jaon server in vs code
@NihiraTechiees
@NihiraTechiees 5 ай бұрын
Install the json server via npm command
@vaibhavlande7829
@vaibhavlande7829 Жыл бұрын
where i can get BE api source code
@NihiraTechiees
@NihiraTechiees Жыл бұрын
This video I used json- server api(fake api) it's just json file
@shudhakarkumargupta7236
@shudhakarkumargupta7236 Жыл бұрын
first which password use
@NihiraTechiees
@NihiraTechiees Жыл бұрын
What password you used while register
@mr_umairkhan07
@mr_umairkhan07 Жыл бұрын
PUT /user/[object℅20Object] 404
@NihiraTechiees
@NihiraTechiees Жыл бұрын
Why it's object%20 it should some value
@hugosilva-kg6vr
@hugosilva-kg6vr Жыл бұрын
Show
@NihiraTechiees
@NihiraTechiees Жыл бұрын
Is it helpful for you?
@hugosilva-kg6vr
@hugosilva-kg6vr Жыл бұрын
@@NihiraTechiees yes, very
@Shubhamindory
@Shubhamindory Жыл бұрын
please give me source code sir
@NihiraTechiees
@NihiraTechiees Жыл бұрын
Check GitHub link in description
@atozupdates-telugu3120
@atozupdates-telugu3120 Жыл бұрын
sir, can't install ngx-toastr it does not install it shows an error, icant understand . what can i do please clarify my doubt here is my issue : D:\sai-angular-practice\veeru_workspace>npm install ngx-toastr -save npm ERR! code ERESOLVE npm ERR! ERESOLVE unable to resolve dependency tree npm ERR! npm ERR! While resolving: veeru-workspace@0.0.0 npm ERR! Found: @angular/common@15.2.10 npm ERR! node_modules/@angular/common npm ERR! @angular/common@"^15.2.0" from the root project npm ERR! npm ERR! Could not resolve dependency: npm ERR! peer @angular/common@">=16.0.0-0" from ngx-toastr@17.0.2 npm ERR! node_modules/ngx-toastr npm ERR! ngx-toastr@"*" from the root project npm ERR! npm ERR! Fix the upstream dependency conflict, or retry npm ERR! this command with --force or --legacy-peer-deps npm ERR! to accept an incorrect (and potentially broken) dependency resolution. npm ERR! npm ERR! npm ERR! For a full report see: npm ERR! C:\Users\91961\AppData\Local pm-cache\_logs\2023-10-18T16_54_38_869Z-eresolve-report.txt npm ERR! A complete log of this run can be found in: npm ERR! C:\Users\91961\AppData\Local pm-cache\_logs\2023-10-18T16_54_38_869Z-debug-0.log idont understand my problem , please solve this
@NihiraTechiees
@NihiraTechiees Жыл бұрын
While install use the specific version.... Look like version conflict
@thotcher9706
@thotcher9706 11 ай бұрын
how to change the login form, so i can login with the name, not the id?
@NihiraTechiees
@NihiraTechiees 11 ай бұрын
Create model class before sending to api comvert form value into this model format
@thotcher9706
@thotcher9706 10 ай бұрын
@@NihiraTechiees ok ty, what should i do when i want to insert the users data into a postgresql/any sql database when a registration is made?
@mathipamakgato
@mathipamakgato Жыл бұрын
Firstly thank you very much for the great tutorial, I seem to have an issue on the below code while trying to login, "this.userdata" is undefined but I do have the data from the db.json file futhermore when debugging I can see the username value going to the service. Please help!! if (this.loginform.valid) { this.service.Getbycode(this.loginform.value.username).subscribe(res => { this.userdata = res; console.log(this.userdata);
@NihiraTechiees
@NihiraTechiees Жыл бұрын
Can you confirm your API returning data? If yes what value you getting console.log(this.userdata).
@Mst.EshitaKhatun-y7u
@Mst.EshitaKhatun-y7u Жыл бұрын
I follow your code but user registration form (submit) is not taking any value. Why it is so Answer please
@NihiraTechiees
@NihiraTechiees Жыл бұрын
Is your screen refreshed after you submit?
@eshitashimu3906
@eshitashimu3906 Жыл бұрын
@@NihiraTechiees yes brother. Now it works
@Mst.EshitaKhatun-y7u
@Mst.EshitaKhatun-y7u Жыл бұрын
If I do not run in json server in the browser at that time input value (registration/ login) is not submitting. why it is so?? If I run json server in the browser at that time it works fine. please let me know the actual issue for this.
@NihiraTechiees
@NihiraTechiees Жыл бұрын
It's dummy api also need to be running mode. Just running -- watch command is fine not required to open url in browser
@Mst.EshitaKhatun-y7u
@Mst.EshitaKhatun-y7u Жыл бұрын
@@NihiraTechiees One more queries: Toastr is not working properly. it just only shows the messages in left bottom position but not any block box with color. Currently I am using angular cli 15.2.3 and ngx-toastr 16.1.0 Additionally I followed all the set up for displaying toastr but its not working properly. Please let me know why it is so?
@harshavardhanpatekar5697
@harshavardhanpatekar5697 8 ай бұрын
Json server not starting. Please help!!
@NihiraTechiees
@NihiraTechiees 7 ай бұрын
What error you got?
Cool Parenting Gadget Against Mosquitos! 🦟👶 #gen
00:21
TheSoul Music Family
Рет қаралды 32 МЛН
pumpkins #shorts
00:39
Mr DegrEE
Рет қаралды 123 МЛН
Un coup venu de l’espace 😂😂😂
00:19
Nicocapone
Рет қаралды 12 МЛН
10 common mistakes with the Next.js App Router
20:37
Vercel
Рет қаралды 222 М.
30 Programming Truths I know at 30 that I Wish I Knew at 20
17:41
JWT авторизация. Основы JWT - механизма.
6:45
Хочу вАйти
Рет қаралды 12 М.
Lichee Pi 3A: RISC-V SBC with 2 x M.2 PCIe slots
19:06
ExplainingComputers
Рет қаралды 45 М.
Intel's weapon against motherboard companies... will it work?
17:26
JayzTwoCents
Рет қаралды 212 М.
What is a REST API?
9:12
IBM Technology
Рет қаралды 1,5 МЛН
Cool Parenting Gadget Against Mosquitos! 🦟👶 #gen
00:21
TheSoul Music Family
Рет қаралды 32 МЛН