Workshop day


Today's DB Objectives:


The Sprint

For today's class my vision is that we code, side-by-side, using the tools we've been learning to build something. Let's prove what can be done in 2 hours.

I think that a good task for this period of time is getting an authentication system rolling for your social networks.

We'll do 4-5 pomodoros, be sure to take short breaks when you can.


Authentication 101

Here is an example of oAuth being done in Node. Passport is the library used there, it has many "strategies".

Here is a quick solution for an admin panel here.

For generic auth you want to hash and salt your passwords then repeat the process when you want to validate. Be aware of SSL.