I have followed the Tutorial. After changing app/maint.ts in the Http chapter I get the error when starting the app via command line:
ap
This solved the 404 problem
From Angular in-memory-web-api Documentation
Always import the InMemoryWebApiModule after the HttpModule to ensure that the XHRBackend provider of the InMemoryWebApiModule supersedes all others.
Module imports should have InMemoryWebApiModule listed after HttpModule
@NgModule({
imports: [ BrowserModule,
AppRoutingModule,
FormsModule,
HttpModule,
InMemoryWebApiModule.forRoot(InMemoryDataService),
...