Commit Graph

9 Commits

Author SHA1 Message Date
Marsell Kukuljevic
3c38a932ed Log all requests, using the bunyan format (JSON with certain fields). This
is most easily consumed with the bunyan formatter; see README.md for more
details.
2021-04-10 23:06:24 +02:00
Marsell Kukuljevic
8672439358 Changed how paths are handled by server.js, to more closely match the Angular
dev environment. New paths:

/api/login: redirects to SSO
/api: all calls (other than above) are sent to cloudapi
/: static content served from static/

All API calls to cloudapi now pass through server.js's HTTP /api, not /.

The static/static path is now gone, since it was causing too much trouble.
static/ is now a symlink directly to app/dist, which is where a fresh Angular
build appears when app/ is built.
2021-04-10 21:50:50 +02:00
Marsell Kukuljevic
18d35b5172 Eliminate /token path from server.js, to match Dragos' env. 2021-04-10 20:41:30 +02:00
20ee57102e added app project files 2021-04-07 14:26:28 +03:00
Marsell Kukuljevic
991f5cabdc Fix the handling of DELETE and PUT calls, and stop unintentional deserialization
of JSON instead of passing it through as an opaque string.
2021-03-26 22:46:57 +01:00
Marsell Kukuljevic
df9677efe5 Elaborate a bit on the login and interaction cycle in the README. 2021-02-02 16:20:21 +01:00
Marsell Kukuljevic
ff04edd2b8 Update README with some key-related details. 2021-01-31 21:43:25 +01:00
Marsell Kukuljevic
6aea7758ee Server uses TLS, sign all requests to cloudapi, and enable SSO. 2021-01-26 17:22:37 +01:00
Marsell Kukuljevic
9abb845eec Basic proxying to cloudapi, and serving static content. 2021-01-12 23:39:15 +01:00