Skip to content

An demo API demonstrating how to integrate a custom Facebook OAuth2 flow that can be used for mobile clients

License

Notifications You must be signed in to change notification settings

silverlogic/custom-facebook-auth

Repository files navigation

Custom Facebook Auth

An demo API demonstrating how to integrate a custom Facebook OAuth2 flow that can be used for mobile clients. The project is generated by LoopBack.

Technology

  • Node.js 8.1.*
  • NPM 5.0.*
  • Loopback 3.0.*
  • VS Code 1.13.*

Requirements For Installing Locally

  • OSX
  • Node.js 8.1.*
  • NPM 5.0.*
  • Loopback 3.0.*

Installation

Node.js/NPM

When installing Node, NPM automatically comes with Node. To install the latest version of Node, we recommend using Homebrew. Once homebrew is installed, install Node in the terminal doing $ brew install node. Verify that both Node.js and NPM were installed successfully bying do $ node -v and $ npm -v.

Loopback

You will need Loopback installed in order to use the command line interface. Installing is simple by doing $ $ npm install -g loopback-cli.

Setup

Now that we have the requirements installed, we can begin setting up our local environment.

  1. In a terminal, do $ git@github.com:silverlogic/custom-facebook-auth.git.
  2. Go to the root of the project by doing $ cd custom-facebook-auth.
  3. Now we need to build the dependencies by doing $ npm install.
  4. Now the project can be opened in any source editor for modifying.

Running Locally

When running locally, the base url will be http://0.0.0.0:3000. The explorer can be accessed by http://0.0.0.0:3000/explorer. Run the application by doing $ node ..

About

An demo API demonstrating how to integrate a custom Facebook OAuth2 flow that can be used for mobile clients

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published