Title: Proposal: add server config for static mocks via webpack-dev-server · Issue #4367 · angular/angular-cli · GitHub
Open Graph Title: Proposal: add server config for static mocks via webpack-dev-server · Issue #4367 · angular/angular-cli
X Title: Proposal: add server config for static mocks via webpack-dev-server · Issue #4367 · angular/angular-cli
Description: When developing large apps which require many static mocks, we need to run a separate instance of a server so that we can proxy API calls so an endpoint which return known results. Since ng serve already invokes webpack-dev-server, we ju...
Open Graph Description: When developing large apps which require many static mocks, we need to run a separate instance of a server so that we can proxy API calls so an endpoint which return known results. Since ng serve a...
X Description: When developing large apps which require many static mocks, we need to run a separate instance of a server so that we can proxy API calls so an endpoint which return known results. Since ng serve a...
Opengraph URL: https://github.com/angular/angular-cli/issues/4367
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Proposal: add server config for static mocks via webpack-dev-server","articleBody":"When developing large apps which require many static mocks, we need to run a separate instance of a server so that we can proxy API calls so an endpoint which return known results.\r\n\r\nSince `ng serve` already invokes `webpack-dev-server`, we just need a way to pass a `setup()` method ([webpack docs](https://webpack.github.io/docs/webpack-dev-server.html#api)) to handle the routing.\r\n\r\n...this save us from spinning up a second server.\r\n \r\n[PR is open](https://github.com/angular/angular-cli/pull/3661), hoping to get some perspective whether this approach makes sense.","author":{"url":"https://github.com/kdimatteo","@type":"Person","name":"kdimatteo"},"datePublished":"2017-02-02T19:02:46.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":3},"url":"https://github.com/4367/angular-cli/issues/4367"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:df9ab377-daf0-c6e9-529d-4a1ef1f4d932 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 810E:3D45D4:8FB0C66:B9E9874:69770A86 |
| html-safe-nonce | 30813fa60f2f57964994fd7b1844c2c374c387625bcddcbac049da2bfc77f5f1 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4MTBFOjNENDVENDo4RkIwQzY2OkI5RTk4NzQ6Njk3NzBBODYiLCJ2aXNpdG9yX2lkIjoiODUzOTIwNTMyMTk5MjExMjc3NCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 15f9539dd436cdf3cf6e71de22d1e28802762832bd897806e90418f7665ce643 |
| hovercard-subject-tag | issue:204965176 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/angular/angular-cli/4367/issue_layout |
| twitter:image | https://opengraph.githubassets.com/fb3c78d06459c00e1b4cf8a3a06c7515876513952b5ebb5b6a9147e4a2258db5/angular/angular-cli/issues/4367 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/fb3c78d06459c00e1b4cf8a3a06c7515876513952b5ebb5b6a9147e4a2258db5/angular/angular-cli/issues/4367 |
| og:image:alt | When developing large apps which require many static mocks, we need to run a separate instance of a server so that we can proxy API calls so an endpoint which return known results. Since ng serve a... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | kdimatteo |
| hostname | github.com |
| expected-hostname | github.com |
| None | 01d198479908d09a841b2febe8eb105a81af2af7d81830960fe0971e1f4adc09 |
| turbo-cache-control | no-preview |
| go-import | github.com/angular/angular-cli git https://github.com/angular/angular-cli.git |
| octolytics-dimension-user_id | 139426 |
| octolytics-dimension-user_login | angular |
| octolytics-dimension-repository_id | 36891867 |
| octolytics-dimension-repository_nwo | angular/angular-cli |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 36891867 |
| octolytics-dimension-repository_network_root_nwo | angular/angular-cli |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | f752335dbbea672610081196a1998e39aec5e14b |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width