Skip to content

KavinduLiyanage/OAuth-2.0

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

99 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sri Lanka Institute of Information Technology

download

SE4030 - Secure Software Engineering

Google Drive OAuth

Development Team:

  • IT18018288 - Ranawaka M. N.
  • IT18016376 - Liyanage K. S.
  • IT18040654 - Wickramasinghe S.P
  • IT18049046 - Chandrasekara L.H.P.S.D

Installation and Setup

Pre-requisites before installation and setup

  • NodeJS with npm
  • Yarn
  • Git
  • IDE such as IntelliJ or VS Code

Project Installation

  • Step 1 - Open your command prompt at the location where you want the project folder to be created and type the following command at the console:
git clone https://github.com/KavinduLiyanage/SSD.git

or

You can visit https://github.com/KavinduLiyanage/SSD, and download the zipped version of this project and open the extracted project using the IDE.

Setup API

  • Step 2 - Navigate to 'api' folder
  • Step 3 - Create Google OAuth Client from Google Cloud Console(Mentioned in the report)
  • Step 4 - Download Client ID JSON file, rename it as 'credentials' and paste it in the 'api' folder
  • Step 5 - Run 'npm install'
  • Step 6 - Run 'npm start'

Installation Script

In the project root directory, run these scripts in terminal:

cd api

yarn or npm install

yarn startor npm start

The server will run in http://localhost:5000

Setup Frontend

Open new terminal in project root directory,

cd frontend

yarn or npm install

yarn start or npm start

Open http://localhost:3000 to view client application in the browser.

Contributors

Liyanage K. S.
Liyanage K. S.
Ranawaka M. N.
Ranawaka M. N.
Wickramasinghe S.P
Wickramasinghe S.P.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published