Skip to content

emoncuso/transit-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Getting started

  1. Install Deno
# install deno
curl -fsSL https://deno.land/install.sh | sh
  1. Start vault
vault server -dev -dev-root-token-id=root
  1. Run TF to setup Vault
cd tf
terraform init
terraform apply
  1. Start the app
VAULT_TOKEN=... VAULT_ADDR=... deno run dev
  1. Do some stuff!
# create a new record
curl --location 'http://localhost:4199/data' \
--header 'Content-Type: application/json' \
--data '{
    "data": "he is very UNWELL",
    "key": "medical"
}'


# get data back
curl --location 'http://localhost:4199/data/<id>'

About

Demo repo for a simple transit workflow

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors