wasp-lang / wasp

The fastest way to develop full-stack web apps with React & Node.js.
https://wasp-lang.dev
MIT License
13.65k stars 1.18k forks source link

Docs: Provide explicit examples for GitHub UI helpers #970

Open matijaSos opened 1 year ago

matijaSos commented 1 year ago

Right now, when talking about auth UI helpers for GitHub, we just refer readers to check out how Google works.

It's not wrong, but it also isn't the best dev experience - it's nicer to see an example of code you can immediately copy/paste. Also, I'm never sure how is "github" spelled, what is capitalized etc.

@shayneczyzewski @vincanger to your attention - lmk if this makes sense or if I missed something.

Live in the docs Screenshot 2023-01-24 at 10 44 55

shayneczyzewski commented 1 year ago

Good point @matijaSos. The thinking there was just to avoid duplication, but it is nice to have copy-pasteable code.

@vincanger do we have any ideas on how we can provide some nice, full examples of things that will hopefully also be easy to maintain over time? I don't have a great idea myself :D so mainly just asking. But it would be cool if we had some type of simple web app perhaps that users could check boxes, and it would build out a .wasp file for them (and maybe accompanying js/ts) based on their selections. Too much though? 🤔