Coder Social home page Coder Social logo

harneet-9039 / reactjs-linkedin-nodejs Goto Github PK

View Code? Open in Web Editor NEW
2.0 1.0 1.0 903 KB

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

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

JavaScript 76.74% HTML 15.45% CSS 7.81%

reactjs-linkedin-nodejs's Introduction

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

reactjs-linkedin-nodejs's People

Contributors

harneet-9039 avatar

Stargazers

 avatar  avatar

Watchers

 avatar

Forkers

topmaster716

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.