Skip to content

harneet-9039/ReactJS-Linkedin-NodeJS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ReactJS-Linkedin-NodeJS

A simple demo app for LinkedIn API Authentication using ReactJS and NodeJS

Demo

https://safe-lake-64143.herokuapp.com/

Usage

Clone

git clone https://github.com/harneet-9039/ReactJS-Linkedin-NodeJS.git

Install Dependencies

Intall dependencies for server

cd ReactJS-Linkedin-NodeJS
npm install

Install dependencies for client

cd client
npm install

Get Linkedin App Credential from Linkedin Developer Portal

client_id
client_secret
Configure 'http://localhost:3001/callback' as Oauth2.0 redirect uri

Create Environment Variables

/ReactJS-Linkedin-NodeJS/.env

EXPRESS_APP_CLIENT_ID=${Your-Client-ID}
EXPRESS_APP_CLIENT_SECRET=${Your-Client-Secret}
EXPRESS_APP_REDIRECT_URI=http://localhost:3001/callback


/ReactJS-Linkedin-NodeJS/client/.env
REACT_APP_CLIENT_ID=${Your-Client-ID}
REACT_APP_REDIRECT_URI=http://localhost:3001/callback

Build Client

/ReactJS-Linkedin-NodeJS/client:

yarn build

yarn run build

npm build

npm run build

Start Server

/React-Linkedin-Login/:
set PORT=3001;
npm start

About

A simple demo app for LinkedIn API Authentication using ReactJS and NodeJS

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published