zhangjx / blog

New Personal Website/Blog Built with React and Firebase

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Blog server

TODOs:

  1. Test (Travis)
  2. Use wavy node module to streamline import paths (no more ../../../blah)
  3. Review password creation flow. Right now the logic lives in the User data model (/models/User.js): user schema takes the real password string input as given, and then replaces the real password string with hashed password and inserting the row into db with the hashed password instead of the real password. Alternatively, the logic could live in the route handler/passport.js configuration function (/routes/postSignupHandler.js which uses ~/configurePassport.js by invoking passport.authenticate('local-signup')). Right now I think it's a better idea to

About

New Personal Website/Blog Built with React and Firebase

License:MIT License


Languages

Language:JavaScript 95.9%Language:HTML 2.9%Language:CSS 1.2%