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
- Host: GitHub
- URL: https://github.com/genfirst/angular2-node-fb-login
- Owner: GenFirst
- License: mit
- Created: 2017-03-05T22:20:18.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2017-05-30T17:55:58.000Z (over 8 years ago)
- Last Synced: 2025-01-31T22:22:43.138Z (11 months ago)
- Topics: angular-cli, angular2, bootstrap3, express, fblogin, ng2-bootstrap, nodejs, passportjs, rest-api
- Language: CSS
- Homepage:
- Size: 28.3 KB
- Stars: 55
- Watchers: 8
- Forks: 37
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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).