Ionic 3 Angular 4 JSON Parsing with Token Based Restful API

preview_player
Показать описание
Ionic 3 Angular 4 JSON Parsing with Token Based Restful API

Download Project
Рекомендации по теме
Комментарии
Автор

Hello :Srinivas Tamada
: First thank you for your explanation
This is the list of tools I use
the is Middleware PSR-7 JWT Authentication Middleware for verify the validity of the Token
and
the is PHP-JWT library . for produce the Token

abdullahgd
Автор

Hello all, am facing one problem while performing " Ionic 3 Angular 4
PHP Token Based Restful API User Authentication Login and Signup."
Problem : When am testing my code in Browser it works welled But when
Am testing my application in Ionic DevApp … It gives me this syntex
error :"Unexpected Token Illegal "
also when am generating .apk file for my application it displaying
White screen only and my content of my application are not displaying …
please help me to resolve above error
databse Use : Mysql

PHP,
my ionic info
@ionic/cli-utils : 1.19.1

ionic (Ionic CLI) : 3.19.1
global packages:
cordova (Cordova CLI) : 8.0.0

local packages:
@ionic/app-scripts : 3.1.0
Cordova Platforms : android 7.0.0
Ionic Framework : ionic-angular 3.9.2

System:
Android SDK Tools : 26.1.1
Node : v8.9.4
npm : 5.6.0
OS : Windows 10

umeshshelke
Автор

Hi Srinivas, thanks a lot for your tutorial. The api works on my localhost but when i install the api on a remote server, i have this error :


Do you have any solution for that ?
Regards.

guillaumechauvel
Автор

Hi Srinivas,
Thank you for the tutorial, here I have some question.
1. Is it possible to move the php function (like: login, signup, feeds) into different file other than index.php? can you give me the example? (my php knowledge is not good)
2. And how you call the php function in IonicApp on Providers?
Thank you for the time.

aldiguizot
Автор

Thank you so much. After log in user can fill some details to other table ... can you please help me ? like want to insert feed data from ionic.

ManishSankari
Автор

Sir your api is not have an error that 500 internal error...when i give the url then a 500 internal error found....How can i handle this? please help me

kousikpan
Автор

you are mixing your auth-server to http request service
but this is good tutorial

彭學勤
Автор

TypeError: Cannot read property 'feedData' of null
The feed table details doesn't get displayed instead i am getting the above error. I have gone through every line of thw code for more then 10 times. Please help..

srimoytripathy
Автор

Thanks for tutorial, but i want to ask if there's a way i can make it so that all user can see all feed post?

luxxury
Автор

HI. Thanks for the video.

I have a question.
What will happend if for example whathever user get the localstorage from you computer or your device. Would he need just copy and paste and that's it? could he login normal whithout problem because he has the localstorage?

How could it be in angular 4 and ionic 3 this problem?

santiagorb
Автор

Thanks! do you know anyone framework for ASP.NET back-end just like PHP-Slim-Restful?

Kako.Michea
Автор

hi great job...but i have an error i uploaded the slim framework to an online server and when i tried to login it says POST "MY_URL" NOT FOUND...Please what am doing wrong or what file should i deploy to online server.
thanks i have to resolve this urgently

adamsabdulmajid
Автор

if(this.resposeData.userData) why it undefined ??

huyduc
Автор

Thank you for your video. But I have error, when i try myself.
I created a method that returns the following code {"myData":{"age":"19}}
And I wanted to display "age". {{dataSet.age}}. But I have error on home.html:
"Runtime Error
Cannot read property 'age' of undefined"

But when I test object dataSet on home.ts (i write "alert(this.dataSet.age)") I get "age".
Can you help me?

AlexDesyatnik
Автор

Its Great Tutorials., Alot of Thanks for it. Kindly help me - I am trying to get the profile details of the logedin user. But I am not able to do that. I am able to get the data on POSTMAN, But I have no idea that how I can connect it to .ts file and on .html file. Kindly help me.

krishnamohan