okfn/ibp-explorer

Wrap app in Node.js shell

Closed this issue · 1 comments

Description

We really need a server. Especially for things like #85 but also we have other env vars that would be much more manageable in a server.

We might also just pull out the tracker stuff and put it in this server, making the whole endeavour here more sane (but we'll consider that after we have a server).

Tasks

  • Wrap this app in a simple node app
    • Don't even touch routing or anything yet. Treat node more like a dumb host that provides an environment/context to a classic "frontend" app
    • Move all env vars to normal Node config, and expose the vars to the frontend app

Do not labour over anything here. We want this quick and simple for this first iteration. See some of our other Node apps for reference on our stack:

DONE