Skip to content

Latest commit

 

History

History
71 lines (50 loc) · 1.1 KB

README.md

File metadata and controls

71 lines (50 loc) · 1.1 KB

tutor

An HTTP API demonstrating example usage of various libraries created, owned, and maintained by freerware.

Quickstart

(! NOTE: REQUIRES docker !)

Fire it up! 🔥

make

Fire it up container-less! 🔥

make local

Tear it down! 🚧

make down 

Debug! 🔍🐛

make debug

Debug the database! 🔍🐛

make debug-db

Build! 🔨

make bins

Clean! 🧽

make clean 

cURL Examples

Create a new account:

cd ./curl/account/ && curl -K post_account.curl http://127.0.0.1:8000/accounts/ && cd ../../

Upsert anaccount:

cd ./curl/account/ && curl -K put_account.curl http://127.0.0.1:8000/accounts/04b8db89-cf81-47c8-ae26-b48ae60f1e09 && cd ../../

Retrieve an existing account:

cd ./curl/account/ && curl -K get_account.curl http://127.0.0.1:8000/accounts/04b8db89-cf81-47c8-ae26-b48ae60f1e09 && cd ../../

Remove an existing account:

cd ./curl/account/ && curl -K delete_account.curl http://127.0.0.1:8000/accounts/04b8db89-cf81-47c8-ae26-b48ae60f1e09 && cd ../../