Techypanda / Digital_Dexterity

Tool For Measuring Digital Dexterity

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Digital Dexterity

Builds Successfully Deploys Successfully

See The Project

Purpose

This is a application you could feasibly deploy within a organization to have a metric called 'digital dexterity', this metric could be used to evaluate if your fellow colleagues are 'digitally dexterious' when compared against everyone else.
This is a webapp written for Planetscale Hackathon, it uses planetscale for database, golang for backend and react for frontend (Typescript).

Branching Model

I am using a form of trunk based development

Environment Setup

API

  • db_password: The Password To Database
  • db_username: The Username To Database
  • db_address: The Databsae Address
  • secret_key: A Secret Key -> Deprecated
  • github_oauth: Secret for github auth in this format: githubClientID:githubClientSecret

Frontend

  • VITE_API_URI=http://address_of_api.com/
  • VITE_GITHUB_CLIENT_ID=github_client_id
  • VITE_GITHUB_REDIRECT=http://address_of_api.com/oauth

Infrastructure

  • db_username: The username to database
  • db_password: The password to database
  • db_address: The address to database
  • gh_username: The github username to authenticate with to Docker
  • gh_token: The github token (PAT) to authenticate with to Docker
  • app_name: What you are calling the application in kube context
  • image: The image to use for application
  • secrets_store: The name of secrets store in kube context
  • cors_list: A CSV list of all acceptable CORS
  • secret_key: A Secret Key -> Deprecated?

Running Locally

Prerequistes

Please install:

  • Docker Please setup your environment as corresponding in Environment Setup

Commands

Run API (Golang)

docker compose up api

Run Web (React App)

docker compose up web

Bring Up Entire Environment

docker compose up

Debug A Container

docker compose run api sh # If you want to connect to api
docker compose run web sh # If you want to connect to web

About

Tool For Measuring Digital Dexterity


Languages

Language:Go 62.1%Language:TypeScript 35.7%Language:HTML 1.0%Language:CSS 0.5%Language:Dockerfile 0.4%Language:Shell 0.3%