Quick boilerplate for Facebook auth in Express
JavaScript
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
public/stylesheets
views
.gitignore
Procfile
README.md
app.js
package.json

README.md

Express Facebook Boilerplate

Kinda simple, but I really needed a quick starter for the Node/Express/Facebook authentication stack. I used Redis as the backend, only because I haven't gotten familiar with any other database in Node, but I'll probably switch over to something more well-suited. Facebook authentication is provided by Passport

To get it working:

  • Pass in your own config.js file with a Facebook object inside of a config object, with the clientId and clientSecret properties set.

  • Run redis-server, then node app