An open API service indexing awesome lists of open source software.

https://github.com/genfirst/angular2-node-fb-login

Demo application that shows how to enable Facebook login with Angular 2 on frontend and Node.js/Express on backend
https://github.com/genfirst/angular2-node-fb-login

angular-cli angular2 bootstrap3 express fblogin ng2-bootstrap nodejs passportjs rest-api

Last synced: 5 months ago
JSON representation

Demo application that shows how to enable Facebook login with Angular 2 on frontend and Node.js/Express on backend

Awesome Lists containing this project

README

          

# angular2-node-fb-login
Demo application that shows how implement Facebook login with Angular 2 on frontend and Node.js/Express on backend that is impleenting REST API.

# About

This application was created as material that is described in [the blog post](https://medium.com/@robince885/node-js-rest-api-facebook-login-121114ee04d8).
As Angular 2 seed we have used project that is described in [post](https://medium.com/@robince885/angular-2-project-with-bootstrap-1e6fc82dc017) that we have published earlier.

# What you need to install

* [Node.js](https://nodejs.org/en/)
* [Angular CLI](https://cli.angular.io/)
* [Gulp](http://gulpjs.com/)
* [MongoDB](https://www.mongodb.com/)

# How To Start Application?

* Start MongoDB - our application expects that there is `fb-demo` database in MongoDB
* Go to [frontend](https://github.com/GenFirst/angular2-node-fb-login/tree/master/frontend) folder
* `npm install`
* `ng serve`
* Go to [backend](https://github.com/GenFirst/angular2-node-fb-login/tree/master/frontend) folder
* `npm install`
* `gulp develop`

# License

angular2-node-fb-login is released under [MIT License](https://opensource.org/licenses/MIT).