Skip to content

jcilacad/secrets

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Secrets

I have implemented and completed the challenge from my web development course. The challenge required the use of OAuth 2.0 for user authentication and authorization. I used Facebook and Google login with the help of NodeJS and Passport. Passport is a tool for Node that verifies the authenticity of requests and then allows the application to handle other tasks.

Run Locally

Clone the project

  git clone https://github.com/jcilacad/secrets.git

Go to the project directory

  cd secrets

Install dependencies

  npm install

Start the server

  npm run start

Environment Variables

To run this project, you will need to add the following environment variables to your .env file

CLIENT_ID=FACEBOOK CLIENT ID

CLIENT_SECRET=FACEBOOK CLIENT SECRET

APP_ID=GOOGLE APP ID

APP_SECRET=GOOGLE APP SECRET

MONGO_URL=MONGODB URL