Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create Endpoints for the Character Creation Steps #62

Open
6 tasks
Tracked by #58
MrVintage710 opened this issue Nov 2, 2024 · 0 comments
Open
6 tasks
Tracked by #58

Create Endpoints for the Character Creation Steps #62

MrVintage710 opened this issue Nov 2, 2024 · 0 comments
Labels
backend Work that is on the rust backend.

Comments

@MrVintage710
Copy link
Collaborator

MrVintage710 commented Nov 2, 2024

#[tauri::command]
pub fn get_pathfinder_class_description(class : PathfinderClassName) -> PathfinderClassDescription

This is just for demonstration

Proposed Feature

This feature includes all of the endpoints needed for the Character Creation Modal and the Character Selection Screen. These can be opened up into other issues. This issue is meant to open up a discussion about these endpoints. I know what we need for the frontend, but I am not sure what the best way to set those endpoints based on the base data.
Here is what is needed for the frontend:

Gets

  • An Endpoint to get a list of characters. These characters just need a Name, Profile Image, Game System, ID, ClassName, Level andCampaign Name`. There should be a response for each saved character
  • An endpoint to get a list of classes from the pathfinder system. They need a Description, Name, Main Attribute, and an Id of some sort. For now, there should only be the Barbarian.
  • An endpoint to get a list of Backgrounds available. These need a Description, Name, Boosted Attributes, Feats given, and an Id of some sort. For now we should just choose a single background.
  • An endpoint to get a list of Ancestries available. These need a Description, Name, Boosted Attributes, Heritages, and an Id of some sort. There maybe more information needed. For now we should just choose a single Ancestry.
  • An endpoint with a list of available TTRPG's. That is just going to be Pathfinder for now, but in the future there will be more.

Posts

  • An endpoint to save a started character. This should take in all of the data taken in by the user.

I think I need to know what types are made for the ingestion process, just to see how the front end requirements match. This is something that @Gearhartlove can speak to.

@MrVintage710 MrVintage710 added the backend Work that is on the rust backend. label Nov 3, 2024
@MrVintage710 MrVintage710 changed the title Create Endpoints for the Character Creation Modal Create Endpoints for the Character Creation Steps Nov 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backend Work that is on the rust backend.
Projects
None yet
Development

No branches or pull requests

1 participant