nimblehq / nimble-link-api

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

backend

Prerequisites

Development

  • Install dependencies
./bin/setup_env.sh
  • Run server
make run

Backend server will be served at localhost:8080 by default

Deploy to Heroku with Terraform

Prerequisites

To deploy the application to Heroku with Terraform, we need to create the Heroku API Key first:

$ heroku login
$ heroku authorizations:create --description <api key description>

And then, move to the deploy/heroku folder and run the following steps:

Step 1: Copy the variable file and update the variables

$ cp terraform.tfvars.sample terraform.tfvars≠

You can get the tfvars files from 1Password

Step 2: Initialize Terraform

$ terraform init

Step 3: Generate an execution plan

$ terraform plan -var-file="terraform.tfvars"

Step 5: Execute the generated plan

$ terraform apply -var-file="terraform.tfvars"

Step 6: Build the application and push to heroku

Wiki

Google OAuth2 Flow

https://developers.google.com/identity/sign-in/web/server-side-flow

About


Languages

Language:Go 89.6%Language:HCL 6.6%Language:Dockerfile 1.9%Language:Shell 1.7%Language:Makefile 0.1%