MEAN-CRUD
With this line the command is executed to solve the Cors error.
"start": "ng serve --proxy-config proxy.config.json"
Add these lines in proxy.config.json
{
"/api/*":{
"target" : "http://localhost:3000",
"secure" : false,
"logLevel" : "debug"
}
}