1const cors = require('cors');
2const express = require('express');
3const app = express();app.use(cors());
4
1"architect": {
2 "serve": {
3 "builder": "@angular-devkit/build-angular:dev-server",
4 "options": {
5 "browserTarget": "your-application-name:build",
6 "proxyConfig": "src/proxy.conf.json"
7 },
8
1{
2 "/api/*": {
3 "target": "http://localhost:3000",
4 "secure": false,
5 "logLevel": "debug"
6 }
7}
8