A simple API for getting short url.
- Clone this repo.
- Create .env file with required credentials or set just set them into your environment. As an example you can use .env.sample
- Run
docker-compose up --build.
-
Create Postgres instance in GCP, you can use terraform scripts in
terraformfolder. To use terraform:1.1 Create
.tfvarsfile with values for variables declared in variable.tf.1.2 Run
terraform init&terraform apply -
Fill GitHub secrets with values declared in cloud_run_deploy.yaml.
-
On every push to
masterbranch that CI/CD will be triggered.