Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Confusing tutorials for Node.js #127

Open
jamesli2021 opened this issue Jun 29, 2024 · 2 comments
Open

Confusing tutorials for Node.js #127

jamesli2021 opened this issue Jun 29, 2024 · 2 comments

Comments

@jamesli2021
Copy link

jamesli2021 commented Jun 29, 2024

I took a day to read all the tutorials, and I still have no clue why the Node.js guide is in such a messy state especially for vanilla JavaScript/TypeScript which assume to know something we have not started?

@jamesli2021 jamesli2021 changed the title Confusing turorials for Node.js Confusing tutorials for Node.js Jun 29, 2024
@abergs
Copy link
Member

abergs commented Jun 29, 2024

@jamesli2021 Are you referring to this tutorial?

https://docs.passwordless.dev/guide/backend/nodejs.html

And this example code?

https://github.com/bitwarden/passwordless-nodejs/blob/main/examples/simple-example/src/index.ts

What specifically did you find confusing?

@jamesli2021
Copy link
Author

@abergs Great, thanks for the Node.js link, The confusion on this page arises when you observe how a beginner developer might read it, particularly sections like "this", PHP, etc.

I struggled to understand the whole concept of applying Passwordless in Astro and whether I would need both backend and frontend components.

In comparison to Astro docs, you can find the entire flow in their documentation, which includes recipes and reference styles.

https://docs.astro.build/en/install-and-setup/
https://docs.astro.build/en/guides/backend/

That allows me to build a web app in minutes, not days.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants