cloud-resume-api
cloud-resume-api copied to clipboard
rohit1101/gcp-submission
Name: Rohit S
Repo URL: Repo URL
Resume API URL: resume-api
Summary:
- The way I implemented the solution for this challenge is by setting up an HTTP public GCP Cloud function using node.js which will fetch the data from Firestore
- We have to create a service account with very minimal permissions to make Cloud Function communicate with Cloud Firestore DB; the following are the permissions to accomplish the task:
Cloud Functions Admin
Cloud Run Invoker
Firebase Admin
- Make sure you provide only read-only-access for the Firestore DB to avoid public write access
rules_version = '2';
service cloud.firestore {
match /databases/{database}/documents {
match /{document=**} {
allow read: if true;
allow write: if false;
}
}
}
- Users can access the Cloud Function with the functions URL: get-my-resume
- Use this schema for customising your resume.