This is the front-end service for go-gcs-signedurl, enabling secure file uploads and downloads using Google Cloud Storage (GCS) signed URLs.
- Backend Service: Ensure you have the go-gcs-signedurl backend service set up and running.
- yarn: Install yarn on your system.
- Install Dependencies:
yarn install
- Start Development Server:
yarn dev
-
Create a GKE Cluster:
- Create a Google Kubernetes Engine (GKE) cluster in your Google Cloud project.
-
Configure Helm Chart:
- Copy the values.yaml.example file to values.yaml:
cp ./chart/values.yaml.example ./values.yaml
- Update the values.yaml file with your project's specific values
- Copy the values.yaml.example file to values.yaml:
-
Build and Push Container Image:
- Use skaffold to build your container image and push it to Google Artifact Registry (GAR):
skaffold build -p dev --file-output=artifacts.json -d <GAR_PATH> -t "<TAG>"
- Replace <GAR_PATH> with the path to your GAR repository.
- Replace with the desired tag for your container image.
- Use skaffold to build your container image and push it to Google Artifact Registry (GAR):
-
Deploy to GKE:
- Use skaffold to deploy your application to your GKE cluster:
skaffold deploy -p prod -a artifacts.json
- Use skaffold to deploy your application to your GKE cluster: