danthegoodman1 / ContinueWith

Become an OAuth2 provider with any auth backend
4 stars 0 forks source link

Change provider example to express + passport #1

Open danthegoodman1 opened 1 year ago

danthegoodman1 commented 1 year ago

clearly nextjs sucks with the serverless functions locally can can't do leveldb. We can do express + passport + leveldb + react (maybe use https://3body-net.medium.com/building-a-dev-server-with-express-and-webpack-761704f0c66a for doing hot reload and webpack right in express? Or just do vanilla js)

danthegoodman1 commented 1 year ago

Or maybe we use htmx + preact SSR and no JS at all. Then have form posts (url encoded) and conditional SSR whether the user is logged in or not (store simple userid in cookie). See example https://htmx.org/examples/inline-validation/