Instructions about the desktop prototype and how to use it
Edit me
Running the App Locally
cd [appFolder]
python app.py
Frontend files are available at 127.0.0.1:8000
API is available at 127.0.0.1:8000/api/..
The API will query the database if the
endpoints existed.
List of Endpoints
If you are unfamiliar what these endpoints supposed to represent, please checkout the UI schema or the creation of the UI tables for more information.
Persona
127.0.0.1:8000/api/persona/
lists all the personas.127.0.0.1:8000/api/persona/#/, where # == persona.id
extracts the persona with the specific persona’s id.
Story
127.0.0.1:8000/api/story/
lists all the stories.127.0.0.1:8000/api/story/#/, where # == story.id
extracts the story with the specific story’s id.127.0.0.1:8000/api/story/persona/#/, where # == persona.id
lists all the stories for a particular persona.127.0.0.1:8000/api/story/persona/#/panel/#/, where first # == persona.id and second # == panel.id
lists all the stories from a specific panel with a particular persona.
Panel
127.0.0.1:8000/api/panel/
lists all the panels.127.0.0.1:8000/api/panel/#/, where # == panel.id
extracts the panel with the specific panel’s id.127.0.0.1:8000/api/panel/persona/#/, where # == persona.id
lists all the panels for a particular persona.
Workspace
127.0.0.1:8000/api/workspace/workspace_name
lists all the workspace’s names.127.0.0.1:8000/api/workspace/
lists all the workspaces.127.0.0.1:8000/api/workspace/#/, where # == workspace.id
extracts a single workspace with a specific workspace’s id.127.0.0.1:8000/api/workspace/persona/#/, where # == persona.id
lists all the workspaces for a particular persona.127.0.0.1:8000/api/workspace/#/panels/, where # == workspace.id
lists all the panels for a particular workspace.
Tag
127.0.0.1:8000/api/tag/
lists all the tags.127.0.0.1:8000/api/tag/#/, where # == tag.id
extracts a tag with a specific tag’s id.127.0.0.1:8000/api/tag/story/#/, where # == story.id
lists all from a specific story.127.0.0.1:8000/api/tag/#/story/, where # == tag.id
lists all the stories with a particular tag.127.0.0.1:8000/api/tag/panel/#/, where # == panel.id
lists all the tags from a single panel.127.0.0.1:8000/api/tag/#/panel/, where # == tag.id
lists all the panels with a particular tag.127.0.0.1:8000/api/tag/workspace/#/, where # == workspace.id
lists all the tags from a single workspace.127.0.0.1:8000/api/tag/#/workspace/, where # == tag.id
lists all the workspaces with a particular tag.