To create endpoint in your json-server for your angular application
just edit your db.json file
{
“posts”:{},
“users”:{}
}
Your endpoints are live now on
http://localhost:3000/posts [GET, POST, PUT, DELETE]
http://localhost:3000/users [GET, POST, PUT, DELETE]
hope it helped you.
Login to discuss.