Code Monkey home page Code Monkey logo

Comments (4)

nickredmark avatar nickredmark commented on July 18, 2024

Hey thank you for your interest! I'd love to assist you and to add an ooth-postgres package to this library. It's going to be hard in the coming days since I'm doing a training this week. At any rate your best bet is to join the slack channel and @ me whenever you need me. If you take on the task here are a few thoughts:

the user object is structured this way:

{
  _id: "XXX"
  [strategyname]: {
    [key]: [value]
  }
}

where there could be many strategy names. Now the advantage of mongodb is that you can just store any kind of object, so no schema is needed. I'm not sure how you would solve this problem with postgres. So this might be a difficulty.

from ooth.

pdiniz13 avatar pdiniz13 commented on July 18, 2024

@nmaro sorry for the delay. Another project took priority and I got swamped. This would be fine for postgres since we could just use its jsonb storage to store that info. But when I have some time again Ill look at an alternative solution so that it can be used accross other sql databases as well, regardless of json support.

from ooth.

chase-moskal avatar chase-moskal commented on July 18, 2024

i found this reddit thread where people are discussing mongodb vs postgres with regards to user accounting

i found it noteworthy that the conversation is overwhelmingly in favor of postgres

from ooth.

mnlbox avatar mnlbox commented on July 18, 2024

@nmaro Any plan or roadmap for add Postgres support?
If Postgres support work then we can use it with other tools. For example we can use it for http://hasura.io/

see this links please:
https://docs.hasura.io/1.0/graphql/manual/auth/index.html
https://github.com/elitan/hasura-backend-plus

from ooth.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.