redwoodjs / payments

WIP
MIT License
6 stars 0 forks source link

API Wishlist #1

Open chrisvdm opened 2 years ago

chrisvdm commented 2 years ago

Here is a list of API requests that could be useful for plugin development

chrisvdm commented 2 years ago

Edit: yarn rw g stripe <payment-flow> to yarn rw <d/g> stripe custom cmds

jtoar commented 2 years ago

Just noting that dbAuth has it's own generator built into the framework:

yarn rw g dbAuth

This generates four pages. Code can be found here: https://github.com/redwoodjs/redwood/blob/main/packages/cli/src/commands/generate/dbAuth/dbAuth.js.

Maybe dbAuth should be re-architected to use the new plugin api when it's ready. And could be used to guide its development as well.

cannikin commented 2 years ago

I think you mean dbAuth becomes the default auth implementation and all the third party auth providers become plugins. 😉