Display Table in Angular using JSON Server Rest API

preview_player
Показать описание
In this tutorial, we are going to Display Table in Angular using JSON Server Rest API.

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

The transition from JSON to JavaScript object was what i couldn't seem to figure out up until now...thank you so much

AntonioRibeiro-qsfy
Автор

thanks for this video !it's very clear for me

venuziabm
Автор

Element implicitly has an 'any' type because expression of type 'string' can't be used to index type 'Users'.
No index signature with a parameter of type 'string' was found on type 'Users'.


sir, this error arises.... what is this mean

icethequeen
Автор

Just wondering cannot you use interface rather than creating export class?

upcomng
Автор

1. For Error "element implicitly has an 'any' type because index expression is not of type 'number'.", the solution is like this :

edit the file tsconfig.json and add the following configuration to the compilerOptions key:

"compilerOptions": {

true,
"strictNullChecks": false,
false,

}

2. To get the json server localhosr link, you need to write command on cmd or terminal in VSC

json-server --watch db.json

(If the your HTML code cannot display the data ALTHOUGH ZERO ERROR, you CAN save all the files in VSC and RUN AGAIN the ng serve--open and json serve command>

syahidahbintimohamedali
Автор

I have the same app but we are using mat table and our JSON has spaces, for example " first name" how can I make that work? cannot change the JSON.

jacobahmed
Автор

hey, the data is not showing up on the browser even after successful completion

ananyasinha
Автор

Can you please tell me how did you get the resource url and home url on the terminal in 4:45 ?

codewithprajith
Автор

I am able see hear details but the data is not showing in table?

keshavreddy
Автор

import { RestService } from './rest.service'; is not working. Any tip?

drakZes
Автор

I am getting 302 and data is not showing...

asmavaishiar
Автор

@Google how are we supposed to know if these videos are good or not without a dislike count?

SK-ybbx
Автор

i try this code but now not show result file not found

Narendra
join shbcf.ru