je suis entrain de créer une application web , mais je ne sais pas comment gérer la création de plusieurs compte utilisateurs par les utilisateurs eux même ? Merci à vous de m’aider. Sourc..
Category : angular
I’m beginner in Angular and I have to do a search bar in Angular with api call. I use Laravel in Backend. This is my route for listing and searching: Route::group([‘prefix’=>’users’], function(){ Route::get(‘/{q?}’, [UserController::class, ‘index’]); So i use a get method to search. On angular, I did this to list my users in my app.component.ts: ..

I have: Angular version 11.0.5. Laravel version 8.18.1. For Canvas i used Fabricjs "fabric": "^4.3.1", "@types/fabric": "^4.2.2" For laravel CORS: I used "fruitcake/laravel-cors": "^2.0", Here is the Laravel configuaration: Kernal.php protected $middleware = [ FruitcakeCorsHandleCors::class, ]; protected $middlewareGroups = [ ‘web’ => [ ], ‘api’ => [ ‘throttle:api’, FruitcakeCorsHandleCors::class, ], ]; config/cors.php ‘paths’ => [‘api/*’, ..
I have an app developed using ionic angular and I want to upload files and send in to laravel php here I what I have done but this not working. Here is my submit form in ionic angular : async submitForm(){ let options = {headers: new HttpHeaders({ ‘Content-Type’: ‘multi-part/formdata’, }) }; let formData= new FormData(); ..
I implemented a backend rest Api using PHP Laravel 8, an Angular 10 App that uses the Laravel Apis, and the backend is connected to Mysql DB. The project is already done and I would like to host it for production use. So any help on which cloud services/platform should I use, and what steps ..
im new to laravel and i have a Json file filled with data that i wanna display using angular in my controller i managed to decode the json file to the mysql database but i don’t know how to get the data to display it how do i save the data and use ? from ..
I have build a laravel rest Api and I want to use it my angular project. I have build a form for login user but when i submit the formular i get this error POST http://localhost:8000/oauth/token 400 (Bad Request) I don’t know how to solve it. here is my authService.ts file export class AuthService { ..
I have one application named MyProject which OAuth credentials are: now I want to add login with my project in my second project. how can I do that because my second project is made in laravel as backend and angular and typescript as a front end? my first project is normal PHP. <a href="http://localhost/myproject/oauth.php?app_id=1234&&secret=5678">Login with ..
I am buliding an ecommerce system in angular and laravel rest api.I want to integrate the payment gateway (paypal,stripe) now I want to ask about what is the better approch to integrate should i integrate the payment gateway in angular or should i go with the backend laravel api Sourc..
I am working Laravel 7 and Angular 10 separately. but in My new project I am going to working with both Laravel and Angular. I need install Angular to My Laravel and do My Javascript task using Angular. but I have following problems to solve 1.could I install Angular in my Laravel app? 2.Than, How ..

Hi i’m face problem with angular .. i have multiple parameters sent from backend(laravel) when open the link first time it’s shown the values inside parameters without any problem .. but when i’m going to next page the parameters values became undefined but when i go to next page(through pagination) it converted to undefined i ..
I’m building a web app that has an API first design using Laravel for the API Angular for the UI. I’ve integrated Outlook Calendar using the Microsoft OAuth flow into the Angular app using their tutorial (https://docs.microsoft.com/en-us/graph/tutorials/angular?tutorial-step=3) which is working such that I can correctly attain a list of the current user’s calendar events that ..
Estoy trabajando en un proyecto con Angular y Laravel, en donde el usuario puede crear un tramite y luego se muestran los tramites creados y tiene la opción de ver las observaciones hechas por el mismo. Por el momento se ve de esta forma Foto La idea es que por cada ObservacionWeb haya un salto ..
I am trying to upload image from angular(frontend) to laravel(backend). ANGULAR Project product.component.html <form [formGroup]="mediaFormGroup" (ngSubmit)="onSubmit();"> <input type="file" name="thumb_nail" (change)="onFileChange($event,’thumbnail’)" /> <button type="submit" >UPLOAD</button> </form> product.component.ts thumbFile: File; onFileChange(event, imgType) { this.thumbFile = <File>event.target.files[0]; } onSubmit(){ const formData = new FormData(); formData.append(‘thumbimage’, this.thumbFile); this.uploadService.upload(formData).subscribe( data => { return data; }); } upload.service.ts public upload(data) { ..
Please I have a two folders; 1st for the Angluar files and the 2nd is for the Laravel files. Please how can I compile both folders into one folder which I can later upload to a live server . Sourc..
Tengo un form en angular que recoge toda la informacion y genera un objeto, paso la informacion por un http.post a la api. enter image description here Lo recojo en laravel atraves del model y pongo toda la informacion en el controller. enter image description here enter image description here enter image description here He ..
Tengo un form en angular que recoge toda la informacion y genera un objeto, paso la informacion por un http.post a la api. enter image description here Lo recojo en laravel atraves del model y pongo toda la informacion en el controller. enter image description here enter image description here enter image description here He ..
Tengo un formulario en angular que recoge toda la información y genera un objeto, una vez tengo toda la información lo paso al service donde envio dicha información a la api con un http.post. Este proceso en el console no me da error y el alert que tengo en el component tampoco, este proceso diria ..
Access to XMLHttpRequest at ‘https://backendmemory.herokuapp.com/back/public/api/admin’ from origin ‘https://flamboyant-visvesvaraya-aa3090.netlify.app’ has been blocked by CORS policy: Response to preflight request doesn’t pass access control check: It does not have HTTP ok status. Sourc..

I can’t get my Angular App working to send a http request to my locally running laravel-api. In Postman it’s working perfectly, but I can’t get it working in Angular. There you can see the post request in Postman. This is my Angular-logic: login(username: string, password: string): Observable<any> { let body = new FormData(); body.append(’email’, ..

I can’t get my Angular App working to send a http request to my locally running laravel-api. In Postman it’s working perfectly, but I can’t get it working in Angular. This is the working post-request triggered by Postman. This is my Angular-logic: login(username: string, password: string): Observable<any> { let body = new FormData(); body.append(’email’, username); ..
My backend is in php laravel 5.4, i want to use my session variables in my angular/ionic project the same way i use it in my blade files i.e by using $_SESSION[‘variable_name’] I have not found a way till now, the only way i have got till now is by calling an api and using ..
500 (Internal Server Error) when I try to submit user data to laravel. Actually it stores data fine if I execute in laravel: User::create($request->all()) So it means the connection between client and server is alright. Angular @Component({ selector: ‘app-register’, templateUrl: ‘./register.component.html’, styleUrls: [‘./register.component.css’] }) export class RegisterComponent implements OnInit { form: FormGroup; constructor(private fb: FormBuilder, ..
i’m a newbie here, hope you could help me with my problem, i am having trouble with retaining the enabled status of my angular ui switch… whenever i refresh the page, it reverts back to disabled . but when i check the database, i could it has updated the value and the selected setting name ..
In my DB i’ve got a list of names with specifics origins. In my navbar, i’ve got a link for each origin. I’m new in angular and my first approach was to create a "page" for each origin. My question is : is there any shortcut for doing that? like : on click on the ..