Sunday 25 June 2017

Authentication using PassportJS (with Facebook Oauth) and MySQL (not MongoDB)

Newcomer to this sub, and I have a question regarding a personal project I'm working on.I'm using Node.js, Express, and MySQL to implement a web application. I decided to add authentication using Facebook, and discovered that PassportJS is the best option. However, every tutorial I come across uses MongoDB as the database and not MySQL. Is there any way to use MySQL as the database instead of MongoDB? I have a completely working database with MySQL, and don't want to have to translate it to Mongo, unless it is the better option.Any suggestions or thoughts are appreciated (:

Submitted June 26, 2017 at 01:42AM by deathcat5

No comments:

Post a Comment