preboot / angular-webpack

A complete, yet simple, starter for Angular v2+ using webpack
MIT License
1.29k stars 556 forks source link

Host json web-services in the running node http server ? #354

Open samfrach opened 7 years ago

samfrach commented 7 years ago

Hello,

once we have started node. We have a running instance of a http server. for development purpose, I can call static json files that I've stored in the public directory... but those files remain static.

How could I benefit of the node http server that is running to generate my json file from a javascript class ?

I don't want to start a second server (otherwise I have a java server, where I am used to).

thank you for your help.