Skip to content

AKSHAYBHOPANI/cloud-todo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cloud-todo

With Cloud To-Do you can remember things you want to achieve and improve your productivity. It is a React JS based full stack application using Firestore and OAuth on Google Cloud Platform.

Steps

  1. Create a new Project on Google Cloud
  2. Open Terminal and run -
git clone https://github.com/AKSHAYBHOPANI/cloud-todo
  1. Open Cloud Shell Editor and Expand Cloud To Do
  2. Replace cliendId in /index.js which you can get from OAuth Cloud Console API
  3. Replace firebaseConfig in src/firebase.js with your config which you can get from creating a new project (When typing Project Name, your existing Google Cloud Project will auto appear. Use that to manage things in one place) in Firebase Console
  4. Open Cloud Shell Terminal and run -
cd cloud-todo/
yarn install
yarn start (Optional - To Make and Test Local Changes inside GCP)
  1. Deploy -
gcloud artifacts repositories create cloud-repo  --repository-format=docker --location=${REGION}
docker build -t gcr.io/${PROJECT_ID}/cloud-repo/cloud-todo .
docker push gcr.io/${PROJECT_ID}/cloud-repo/cloud-todo
gcloud run deploy cloud-todo \
         --image=gcr.io/${PROJECT_ID}/cloud-repo/cloud-todo
         --allow-unauthenticated \
         --region=${REGION} \
         --platform=managed

  1. Copy the URL, Click on Edit Icon in Credentials Page under OAuth 2.0 Client IDs and paste the URL in Authorized JavaScript origins and Authorized redirect URI
  2. Test - Cloud Run Demo

In-Depth Step By Step Guide - Read On Google Cloud Community

Like my work? See More

About

React based Cloud To-Do app with OAuth and Firestore

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published