Skip to content
This repository has been archived by the owner on Sep 2, 2022. It is now read-only.

support sequel pro and redis #1954

Closed
bharath917 opened this issue Feb 21, 2018 · 6 comments
Closed

support sequel pro and redis #1954

bharath917 opened this issue Feb 21, 2018 · 6 comments

Comments

@bharath917
Copy link

bharath917 commented Feb 21, 2018

Feature Request

What feature are you missing?

  1. add in-memory database like redis
  2. view mysql data with sequel pro
  3. out of the box authentication with google and facebook
    How could this feature look like in detail? Tradeoffs?
@akoenig
Copy link
Contributor

akoenig commented Feb 21, 2018

Hi @bharath917 - Thanks for your issue 🎉

  1. add in-memory database like redis

There are plans for supporting Redis. You should subscribe to https://github.com/graphcool/prisma/issues/1722 in order to stay in the loop.

  1. view mysql data with sequel pro

That is already possible. The mysql instance runs in a Docker container and is mapped to your local port 3307. You can connect to this instance via Sequel Pro with these credentials:

  • Host: localhost
  • User: root
  • Password: graphcool
  • Port: 3307
  1. out of the box authentication with google and facebook

Yap, that is true. I'm not sure if an out-of-the-box solution is planned. @marktani Could you shed some light on this? :)

@marktani
Copy link
Contributor

Thanks @bharath917 for your questions and thanks @akoenig for the answers 😄

Here is an example that shows Github auth: https://github.com/graphcool/prisma/tree/master/examples/github-auth

It should be fairly straightforward to adapt the Github example to Facebook, for example. Let me know if you have any questions about that!

Can you further describe what an ootb solution for Google or Facebook would look like? :)

@bharath917
Copy link
Author

@marktani Thanks for replying
just to make the new developers'(includes me, therefore facing issues) life simple, adding in authentication with google and facebook,
the flow would look something similar - developer creates a 'google signup' and 'facebook signup' button in the RN app and links it to the backend, the server takes care of backend validation, storing the info, etc., after the dev provides app id in .env, like the current email-password setup.
Also how to use phone number instead of email to login?
a choice to use phone or email to log in would be awesome :)

@bharath917
Copy link
Author

bharath917 commented Feb 22, 2018

hey @akoenig thanks for the reply
successfully connected sequel pro to db

@akoenig
Copy link
Contributor

akoenig commented Feb 22, 2018

Awesome! You're very welcome 😄

@marktani
Copy link
Contributor

Sounds like a great idea, @bharath917! We could add Google and Facebook examples to our repository. Feel free to also ping me in Slack if you feel like contributing them yourself 🙌

Anyway, I'm closing this issue as your questions have been answered.

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

No branches or pull requests

3 participants