Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/joduplessis/oauth
NextJS boilerplate template for connecting Google Drive via OAuth & navigating files. 🔐
https://github.com/joduplessis/oauth
api google-cloud-platform google-drive-api knex nextjs oauth2 postgresql react
Last synced: 6 days ago
JSON representation
NextJS boilerplate template for connecting Google Drive via OAuth & navigating files. 🔐
- Host: GitHub
- URL: https://github.com/joduplessis/oauth
- Owner: joduplessis
- License: mit
- Created: 2022-02-27T07:11:18.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2022-02-27T07:51:13.000Z (almost 3 years ago)
- Last Synced: 2024-11-06T17:52:13.169Z (about 2 months ago)
- Topics: api, google-cloud-platform, google-drive-api, knex, nextjs, oauth2, postgresql, react
- Language: JavaScript
- Homepage:
- Size: 15.6 KB
- Stars: 5
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Google Drive OAuth integration
OAuth authentication is usually tricky & dependent on each service (+ API) you are integrating. This project is a reference & template NextJS project for connecting multiple Google Drive accounts & navigating files/folders.
## What is needed
- A GCP OAuth app
- A Postgres database
- NodeJS (9+)## Installation
Rename the `.env` file & add the correct details. Clone the repo and run of of these commands inside the folder.
```
npm i
npm run dev
```NextJS should start up on port 3000.
## Support
This is purely a reference project, please feel free to ping me about any fixes/bugs/etc.