Open Dishock opened 3 years ago
In retrospect I might have successfully done it, I just had different expectations of the end result. I hoped to have a user registration/login flow usable through GraphQL, which would still be a fantastic topic to touch imo :)
Good question @Dishock, in the coming month I'm hoping to have multiple sessions on this particular topic as related to Hasura. When I get the date set for when I'll be covering this material I'll add a comment here so you'll get notified! 👍🏻
I originally wanted to apply this to my currently used Hasura DB (hosted on Heroku), but decided to test it out on a fresh project first. I was unable to both deploy locally and deploy on Heroku. I'm a total rookie considering the backend, but I don't want to use Firebase/Auth0, as this solution seems perfect for most use cases. If I could accomplish this, I could get happily back to Nuxt and VueJS and not worry about the database stuff for a while :)
PassportJS for GraphQL
Both of my journeys went south, I bring local deploy as an example:
Deploy locally
Clone the repo (success) git clone https://github.com/hasura/graphql-engine
Change directory (success) cd graphql-engine/community/boilerplates/auth-webhooks/passport-js
Install NPM dependencies (failed - Bcrypt gave 404) npm install