SJRK-22: Remove query string handling from site, use routing instead

Metadata

Source
SJRK-22
Type
Improvement
Priority
Major
Status
Open
Resolution
N/A
Assignee
N/A
Reporter
Gregor Moss
Created
2017-10-31T15:54:45.501-0400
Updated
2018-12-18T14:44:01.540-0500
Versions
N/A
Fixed Versions
N/A
Component
  1. Storytelling Tool Server
  2. Storytelling Tool UI

Description

Remove query string static request handling from site, use routing instead to serve the UI from a "nice-looking" URL such as "..../story/id/" or similar

Consider the case of story sharing. URL shortening

https://expressjs.com/en/3x/api.html see res.sendfile() function

GPII-Handlebars may also have some functionality to do this

Comments

  • Gregor Moss commented 2018-12-18T14:44:01.540-0500

    Consider whether to keep query string handling around as a backwards-compatibility measure. There are some stories which may be created and shared on social media. This implies that we will be hosting the tool, so this may not be desired.