Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/yshplsngh/google-auth
raw implementation of Google authentication in nodejs and react
https://github.com/yshplsngh/google-auth
google-authentication nodejs oauth2 reactjs
Last synced: about 2 hours ago
JSON representation
raw implementation of Google authentication in nodejs and react
- Host: GitHub
- URL: https://github.com/yshplsngh/google-auth
- Owner: yshplsngh
- License: mit
- Created: 2024-04-05T10:33:22.000Z (7 months ago)
- Default Branch: main
- Last Pushed: 2024-08-14T09:20:29.000Z (3 months ago)
- Last Synced: 2024-08-14T10:41:53.557Z (3 months ago)
- Topics: google-authentication, nodejs, oauth2, reactjs
- Language: TypeScript
- Homepage:
- Size: 123 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# How to Implement Google OAuth in Node.js and Express
## Google credentials
First we have to get Google credentials .
To get credentials 'if don’t already have them ' go
to [Google developer Console](https://console.developers.google.com/)## Installation
### Running Locally
Make sure you have [Node.js](https://nodejs.org/) and [npm](https://www.npmjs.com/) installed.
1. Clone or Download the repository
```
$ git clone https://github.com/yshplsngh/google-auth.git
$ cd google-auth
```2. Install Dependencies
```
$ npm install
$ cd ./api
$ npm install
```3. Start the client-side application
```
$ npm run dev
```
4. Start server```
$ cd ./api
$ npm run dev
```Your app should now be running on [localhost:5173](http://localhost:5173/).
## Contributing
If you find any issues or have suggestions for improvements, feel free to open an issue or submit a pull request.