This project is a demonstration of using Google Drive API to access files using NodeJS and JavaScript based on OAuth 2.0.
A recent version of NodeJS and NPM.
Clone this repository Use master branch !
Steps:
- Run
npm install
.- Navigate to
oauth-2
directory and runnode index.js
.- The app runs on port 3002.
- Open a web browser and navigate to http://localhost:3002/
You need to Sign In to the application using a Google account. The app will list the last 10 files shared with you / uploaded by you on Google Drive.
Note:
- You have to allow access to this app when Signing In with Google.
I did this as an assignment for the subject Secure Software Development (SSD) when I was studying in the final semester of Software Engineering degree at Sri Lanka Institute of Information Technology (SLIIT).