duncanmadetech / clown-registry

Registry Of Clowns

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

clown-registry

Registry Of Clowns

Configure postgres database

docker-compose run clown-registry npm run migrate

Run locally with docker-compose

docker-compose up

From another terminal run tests

docker-compose run clown-registry npm test

Add new clown to registry

curl -w "\n" \
       -X PUT \
       -d "clownName=Chuckles&shoeSize=ZigZag&noseColour=orange&bowTie=false" \
       localhost:3000/clowns

List all clowns in registry

curl -w "\n" localhost:3000/clowns/all | jq -r

Build docker image

docker build -t clown-registry .

About

Registry Of Clowns


Languages

Language:JavaScript 90.1%Language:Dockerfile 5.1%Language:HTML 3.1%Language:CSS 1.7%