React app to showcase OAuth Authentication with GitHub, Twitter and Facebook using Firebase
This app has been bootstrapped with Create React App so you will need create-react-app
installed.
To install
$ npm install -g create-react-app
Install dependencies
$ yarn
$ cd client
$ yarn
$ cd ..
Run development server
- From root directory
$ yarn dev:client
- From client directory
$ yarn start
Production
$ dev:server
This will create the production build and Node will serve the app, then you can visit http://localhost:5000/
First create the required .env
file, run
$ cd client && yarn setup
Before we begin working on the React app, we will need to create a project in Firebase, then setup new apps on GitHub, Twitter and Facebook.
Follow the tutorial for detailed step-by-step guide.
https://esausilva.com/2018/08/13/react-oauth-authentication-with-firebase-tutorial/
If you would like to support my work and the time I put into making tutorials, consider getting me a coffee by clicking on the image below. I would really appreciate it!
-Esau