a-global-presence-challenge

module
v0.0.0-...-ea9887a Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 7, 2023 License: MIT

README

A Global presence challenge in GCP

This is an attempt to solve this challenge available in Hackattic.com. It was initially implemented in Google Cloud Platform using Cloud Functions, Firestore and Cloud Run. The code is written in Go.

Stack Cloud

Development stack


Configuration

Required configuration
export PROJECT_ID="your-project-id"
export ENV=sandbox
export CHALLENGE_DB_NAME="a-global-presence-hackattic-db"
export CHALLENGE_DOC_NAME="challenge_doc"
## For testing the Go code.
## Trigger.
export IS_ENABLED=true

Data layer
  • The firestore database is called a-global-presence-hackattic-db and it's configured through the common.tfvars file located in the (_env) DB stack.
  • The actual Document that'll register the attempts and the final result is called challenge_doc. The trigger is the responsible for creating it.

Directories

Path Synopsis
pkg

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL