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.idextracts 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.idextracts the story with the specific story’s id.127.0.0.1:8000/api/story/persona/#/, where # == persona.idlists all the stories for a particular persona.127.0.0.1:8000/api/story/persona/#/panel/#/, where first # == persona.id and second # == panel.idlists 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.idextracts the panel with the specific panel’s id.127.0.0.1:8000/api/panel/persona/#/, where # == persona.idlists all the panels for a particular persona.
Workspace
127.0.0.1:8000/api/workspace/workspace_namelists 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.idextracts a single workspace with a specific workspace’s id.127.0.0.1:8000/api/workspace/persona/#/, where # == persona.idlists all the workspaces for a particular persona.127.0.0.1:8000/api/workspace/#/panels/, where # == workspace.idlists 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.idextracts a tag with a specific tag’s id.127.0.0.1:8000/api/tag/story/#/, where # == story.idlists all from a specific story.127.0.0.1:8000/api/tag/#/story/, where # == tag.idlists all the stories with a particular tag.127.0.0.1:8000/api/tag/panel/#/, where # == panel.idlists all the tags from a single panel.127.0.0.1:8000/api/tag/#/panel/, where # == tag.idlists all the panels with a particular tag.127.0.0.1:8000/api/tag/workspace/#/, where # == workspace.idlists all the tags from a single workspace.127.0.0.1:8000/api/tag/#/workspace/, where # == tag.idlists all the workspaces with a particular tag.