Routes - Joemanf/lyrestone GitHub Wiki

Front End Routes

  • GET / - Splash Page (Not even sure if this is an API route but still)
  • GET /home - Main Page Route
  • GET /:storyId/edit - Edit/Make a specific story
  • GET /:storyId/:sceneId - Page to display a certain scene in a certain story
  • GET /:characterId - Page to display a character (only 1 at the time being)
  • GET /:characterId/edit - Page to edit a character

Back End Routes

  • GET /stories - Get all stories
  • POST /stories/:storyId - Post a story
  • DELETE /stories/:storyId - Delete a story
  • POST /:storyId/:sceneId - Post a scene to a story
  • DELETE /:storyId/:sceneId - Remove a scene
  • POST /:characterId - Post a new character
  • DELETE /:characterId - Delete a character