preboot/angular-webpack

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

samfrach opened this issue · 0 comments

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.