Thank you for your time Stephan. I really appreciate your time and efforts. I actually used
https://www.npmjs.com/package/json-server#getting-started this method to host the JSON server. The codes I have mentioned below are the only codes I have used. And also I have achieved this creating the empty wish-list just now. it's very simple. I have just added two empty lists in register-page.component.ts
and whenever I created any new user, It was created automatically.
data.json
The only thing left is I want to export either emailId or ID of the user logged in from the login-page.component.ts to favorite-page.component.ts. Please help me If you could. Thanks.
Sorry If my English is bad :-)