Skip to content

Commit 9f02454

Browse files
authored
Create README.md
1 parent d15f998 commit 9f02454

File tree

1 file changed

+64
-0
lines changed

1 file changed

+64
-0
lines changed

README.md

Lines changed: 64 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,64 @@
1+
# In these articles, you'll learn how to implement Google and GitHub OAuth in Node.js applications.
2+
3+
## How to Implement Google OAuth2 in Node.js
4+
5+
In this article, I'll walk you through the process of setting up Google OAuth2 in a Node.js application, including creating the OAuth project on the Google API console, configuring the OAuth Client ID and secret, and implementing the necessary code in the Node.js project.
6+
7+
![How to Implement Google OAuth2 in Node.js](https://codevoweb.com/wp-content/uploads/2023/01/How-to-Implement-Google-OAuth2-in-Node.js.webp)
8+
9+
### Topics Covered
10+
11+
- Run the Node.js Google OAuth2 Project
12+
- Run the Node.js API with a React.js App
13+
- Setup the Node.js Project
14+
- Get the Google OAuth2 Credentials
15+
- Setup the Database with Prisma
16+
- Create the Validation Schemas
17+
- Get the Google OAuth Access Token and User's Info
18+
- Get the OAuth Access Token
19+
- Get the Google Account User
20+
- Implement the Google OAuth2 in Node.js
21+
- Register User Route Handler
22+
- Login User Route Handler
23+
- Logout User Route Handler
24+
- Authenticate with Google OAuth2 Route Handler
25+
- Create a User Route Handler
26+
- Create the Authentication Guards
27+
- Authentication Middleware
28+
- Require User Middleware
29+
- Create the API Routes
30+
- Setup CORS and Register the API Routers
31+
32+
Read the entire article here: [https://codevoweb.com/how-to-implement-google-oauth2-in-nodejs/](https://codevoweb.com/how-to-implement-google-oauth2-in-nodejs/)
33+
34+
35+
## How to Implement GitHub OAuth in Node.js
36+
37+
In this tutorial, I'll walk you through the process of integrating GitHub OAuth into a Node.js application, including setting up the OAuth App on GitHub, retrieving the OAuth client ID and secret, and implementing the necessary code to handle the OAuth flow.
38+
39+
![How to Implement GitHub OAuth in Node.js](https://codevoweb.com/wp-content/uploads/2023/01/How-to-Implement-GitHub-OAuth-in-Node.js.webp)
40+
41+
### Topics Covered
42+
43+
- Run the Node.js GitHub OAuth Project
44+
- Run the Node.js API with a React App
45+
- Setup the Node.js Project
46+
- Get the GitHub OAuth Credentials
47+
- Create the Database Model
48+
- Create the Validation Schemas
49+
- Obtain the GitHub OAuth Access Token and User's Info
50+
- Retrieve the OAuth Access Token
51+
- Retrieve the GitHub Account Information
52+
- Implement GitHub OAuth in Node.js
53+
- Account Registration Route Function
54+
- Account Login Route Function
55+
- Logout Route Function
56+
- Authenticate with GitHub OAuth Route Function
57+
- GetMe Route Function
58+
- Create the Authentication Middleware
59+
- Authentication Guard
60+
- Require User Middleware
61+
- Create the API Routes
62+
- Register the API Routes and Setup CORS
63+
64+
Read the entire article here: [https://codevoweb.com/how-to-implement-github-oauth-in-nodejs/](https://codevoweb.com/how-to-implement-github-oauth-in-nodejs/)

0 commit comments

Comments
 (0)