mrdonado / generic-backend

Generic express/nodeJS backend with user authentication.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Build Status Coverage Status

NodeJS Backend with Authentication

Express/NodeJS REST API server designed to work as a backend for its Angular 2 based generic-frontend counterpart.

The main features so far are:

  • User login using different strategies (initially based on a scotch.io tutorial).
    • Local (email/password)
    • Google (oAuth)
    • Twitter (oAuth)
    • Facebook (oAuth)
  • Link and unlink user accounts to the aforementioned authentication strategies.

Instructions

  • Install packages: npm install
  • Set your own database configuration on config/database.js
  • Copy the file config/auth.js.example to config/auth.js and use your own keys
  • Launch the mongodb on the directory ./db: npm run startdb
  • Launch this project: npm run start
  • Open http://localhost:3200 in your browser

About

Generic express/nodeJS backend with user authentication.


Languages

Language:JavaScript 86.0%Language:HTML 14.0%