Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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.