Skip to content

create a settings database #48

@VigneshVSV

Description

@VigneshVSV

We have a JSON defined for the settings used in the app. See it here:

export type AppSettingsType = {

We want to be able to sync this settings into the database, per user, and load them upon sign in.

Rough Steps:

  • Create a database table with keycloak-ID as primary key and settings JSON as a JSON field
  • On change, make a post request if the user does not exist and make a patch request if a user has settings
  • On sign in, load the settings with GET
  • Add endpoints in open API specification for the above requests

blocked by #44 and #45

Metadata

Metadata

Assignees

No one assigned

    Labels

    beginnerbeginner level good first issues, usually issues that can worked on without skimming the whole repoblockedThis issue is blocked by another issuegood first issueGood for newcomers

    Projects

    Status

    No status

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions