Metronic Angular use a mock back-end for demo purpose. It's called
in-memory web api for Angular demos and tests that emulates
CRUD operations over a RESTy API.
It intercepts Angular Http and
HttpClient requests that would otherwise go to the remote
server and redirects them to an in-memory data store that you control.
For more info on the library: https://github.com/angular/in-memory-web-api
You have to disable the mock back-end for the built Angular's
Http and HttpClient requests to work normally.
Check in the files /src/app/_fake/ which contains all the
dummy data for the mock back-end.
When your Real back-end is done, follow the next two steps for switching to the real REST API:
Change the configuration line in your
/src/environments/environment.ts file:
Switch paths to services in
/src/app/modules/services/auth-http/index.ts file:
From:
To: