Skip to content

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

@samfrach

Description

@samfrach

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions