Skip to content

CH2-PS254/pose-service

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Pose Service

Golang service to manage pose data

Setup

  1. Copy .env.example to .env

    cp .env.example .env
  2. Fill .env based on your credentials

  3. Install package

    go get .
  4. Run service

    go run .

Deployments

App Engine

  1. Create app.yaml file in project root

    runtime: go121
    
    env_variables:
      GIN_MODE: release
      CLOUDSQL_CONNECTION_NAME: PROJECT_ID:REGION_ID:INSTANCE_ID
      CLOUDSQL_USER: postgres
      CLOUDSQL_PASSWORD: ""
      CLOUDSQL_DATABASE_NAME: postgres
      JWT_SECRET: ""
  2. Deploy to App Engine using gcloud CLI

    gcloud app deploy

About

CRUD Pose API + Auth

Resources

Stars

Watchers

Forks

Releases

No releases published

Languages