+ 2
What would be the best Database for a Node JavaScript based Social Media?
I want to create a social media however I need to find the best way to encrypt user data like passwords, and other profile related things.
7 Answers
+ 8
Firebase
+ 8
I use Nedb in my projects. It's pretty easy to use and it uses MongoDB API. You can also use MySQL, Firebase . Finally it's upto you what you'll use.
Here you'll find documentation of Nedb. Give it a try.
https://github.com/louischatriot/nedb/blob/master/README.md
+ 3
bcrypt can help in encrypting passwords.
mongoDB for nodejs is a good option , mongoDB driver is self sufficient for all the works but an ORM like mongoose will definitely help to make the process even easier
+ 1
yeah I've looked into Mongoose but idk I seem to be misreading something I think because I need to initialize the user's feedback and store it
+ 1
DeathlyPlays in that case pick a good Authentication strategy with Passport,
if not going with oAuth strategies( Google, Facebook etc) then jwt strategy of passport comes handy for performing authentication.
with bcrypt for encryption/ decryption before saving the password in database and retrieving it.
Traversy media at YouTube has a tutorial on that a 10 video mean auth app tutorial series, he doesn't explains it well, but he goes through the whole coding process with the components which helps
a lot in basic understanding.
https://youtu.be/wby16AandrM
+ 1
Thanks! The oAuth idea through Google would be nice, personally I want my social media to distance away from Facebook.
0
Yeah I really want passwords to be as secure as possible