code-jammers-backend icon indicating copy to clipboard operation
code-jammers-backend copied to clipboard

#174864453 builds user up/in using Facebook OAuth

Open Augusta-E opened this issue 4 years ago • 0 comments

What does this PR do

  • This PR enables User to signup and sign in with Facebook OAuth feature

Description of tasks to be completed?

  • Install necessary dependencies
  • Write a program to signup and sign in a user using Facebook oauth
  • Test program to ensure the user is signed up, and can also sign in successfully

How should this be manually tested/checked?

  • Clone the PR
  • Checkout to the branch ft-facebook-user-singup/in-oauth-174864453
  • Install the dependencies using npm install
  • Start the server by running npm run dev
  • Create a .env file and define the following as follows:
    • DEV_DATABASE_URL = <development database url>
    • TEST_DATABASE_URL = <test database url>
    • DATABASE_URL = <production database url>
    • go to .gitignore file, copy the 'facebook signup details' and past it in your .env file
    • To test this feature go to http://localhost:3000/api/v1/auth/facebook on your browser.

What are the relevant pivotal tracker stories?

#174864453

Augusta-E avatar Sep 18 '20 13:09 Augusta-E