Open eyeamkd opened 2 months ago
Let's try to stick to a very simple setup for now
Expecting the users to save a private key for logging in, doesn't sink in with me. Instead, let's just have a hassle free OAuth experience for signing in, let the users create mulitple apps. For each app we can give them a dedicated API Key.
Why this approach:
We can go with Mongo for storing experiment results. I'm skeptical about using postgres for auth info or API key info, as it would create a mix of SQL/ NoSQL, but lowkey want to try this setup, best of both worlds. Your take @balajikummari?
https://www.prisma.io/docs/orm/overview/databases/mongodb
With prisma you can have both, let the user decide what he wants
On Wed, 10 Jul, 2024, 10:53 am Kunal Dubey, @.***> wrote:
We can go with Mongo for storing experiment results. I'm skeptical about using postgres for auth info or API key info, as it would create a mix of SQL/ NoSQL, but lowkey want to try this setup, best of both worlds. Your take @balajikummari https://github.com/balajikummari?
— Reply to this email directly, view it on GitHub https://github.com/scale-jobs/abfy.io/issues/5#issuecomment-2219587276, or unsubscribe https://github.com/notifications/unsubscribe-auth/AK2Y26FZIXLNRHTVGXOQU6LZLTAOVAVCNFSM6AAAAABHPECBASVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEMJZGU4DOMRXGY . You are receiving this because you were mentioned.Message ID: @.***>
https://www.prisma.io/docs/orm/overview/databases
All supported DBs
On Wed, 10 Jul, 2024, 10:56 am Balaji Kummari, @.***> wrote:
https://www.prisma.io/docs/orm/overview/databases/mongodb
With prisma you can have both, let the user decide what he wants
On Wed, 10 Jul, 2024, 10:53 am Kunal Dubey, @.***> wrote:
We can go with Mongo for storing experiment results. I'm skeptical about using postgres for auth info or API key info, as it would create a mix of SQL/ NoSQL, but lowkey want to try this setup, best of both worlds. Your take @balajikummari https://github.com/balajikummari?
— Reply to this email directly, view it on GitHub https://github.com/scale-jobs/abfy.io/issues/5#issuecomment-2219587276, or unsubscribe https://github.com/notifications/unsubscribe-auth/AK2Y26FZIXLNRHTVGXOQU6LZLTAOVAVCNFSM6AAAAABHPECBASVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEMJZGU4DOMRXGY . You are receiving this because you were mentioned.Message ID: @.***>
Yeah ORM was never an issue.
I mean as long as you are using prisma, we are good with any Db you use
Coool. Let's use Prisma only then. What about OAuth and a single API Key approach?
Lets use simple API key or jwt auth, oAuth and all overkill for now ?
Simply sign a jwt/generate keys and send to FE and verify JWT/keys on backend?
On Wed, 10 Jul, 2024, 11:10 am Kunal Dubey, @.***> wrote:
Coool. Let's use Prisma only then. What about OAuth and a single API Key approach?
— Reply to this email directly, view it on GitHub https://github.com/scale-jobs/abfy.io/issues/5#issuecomment-2219605876, or unsubscribe https://github.com/notifications/unsubscribe-auth/AK2Y26FUFH5CSGMCTDB6WPLZLTCLZAVCNFSM6AAAAABHPECBASVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEMJZGYYDKOBXGY . You are receiving this because you were mentioned.Message ID: @.***>
I agree with your point of overkill, but I don't like the idea of user having to store/save something on his end. On the other hand, OAuth would only go about for being a fundamental base in our architecture that we don't need to change
Yo @balajikummari given that the weekend is near, imma start with this then. Just wanted to give you an FYI
Create an Admin Panel