ejs-header-social

1.2.0 • Public • Published

ejs-header-social

An EJS header template with login, signup, social media and forgot email functions

This module extends your Express app with routes and templates needed to quickly add login via social media (Facebook, Twitter, Google) functionality to your app.

Recommended: Use this with ejs-header

  • requires EJS
  • requires you use Passport.JS and Express Session

How to use:

npm install --save ejs-header-social

In your server.js or app.js:

app.use('/users', express.static(__dirname + '/public'));
require('ejs-header-social')(app,session,passport);

You can generate a project using Slush using this header with https://github.com/vtange/slush-ejs-social

Dependencies (0)

    Dev Dependencies (0)

      Package Sidebar

      Install

      npm i ejs-header-social

      Weekly Downloads

      1

      Version

      1.2.0

      License

      none

      Last publish

      Collaborators

      • vtange