Skip to content

brandur/context-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

60 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

context-demo

brew install envrc postgres

Server

createdb context-demo
psql context-demo < schema/schema.sql

# must be run in this directory for Go module resolution to
# work
cd server
cp .envrc.sample .envrc
direnv allow
go run main.go

Run a cURL query against it:

curl -X PUT http://localhost:8788/zones/mutelight.org/records/context.mutelight.org -d '{"type":"CNAME","value":"brandur.org"}'

Client

cd client
go run main.go

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published