https://github.com/nejdetkadir/google-authentication
Simple google authentication (Google+) with NodeJS & AngularJS
https://github.com/nejdetkadir/google-authentication
angular angularjs google-auth google-authentication node nodejs
Last synced: about 1 month ago
JSON representation
Simple google authentication (Google+) with NodeJS & AngularJS
- Host: GitHub
- URL: https://github.com/nejdetkadir/google-authentication
- Owner: nejdetkadir
- License: apache-2.0
- Created: 2020-10-11T22:56:25.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2020-10-13T19:31:30.000Z (over 5 years ago)
- Last Synced: 2025-02-10T15:14:25.505Z (over 1 year ago)
- Topics: angular, angularjs, google-auth, google-authentication, node, nodejs
- Language: JavaScript
- Homepage:
- Size: 34.7 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[](https://www.codacy.com/gh/nejdetkadir/google-authentication/dashboard?utm_source=github.com&utm_medium=referral&utm_content=nejdetkadir/google-authentication&utm_campaign=Badge_Grade)
# google-authentication
Simple google authentication (Google+) with NodeJS & AngularJS. You can use everywhere, Enjoy it!

# Project setup
### Prerequirites
- NodeJS (>=10.x)
- npm
### Installation
Clone repo and install dependencies
``` bash
$ git clone https://github.com/nejdetkadir/google-authentication.git
```
``` bash
$ cd google-authentication
```
``` bash
$ npm install && bower install
```
### Enviroment variables
Create a file named ".env" in the root directory and fill its contents as follows.
```ruby
MONGODB_STRING = XXX
GOOGLE_CLIENT_ID = XXX
GOOGLE_CLIENT_SECRET = XXX
GOOGLE_CALLBACK_URL = /auth/google/callback
SESSION_SECRET_KEY = XXX
```
### Run the app
``` bash
$ npm start
```