freerware / tutor

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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 ../../

About

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

License:Apache License 2.0


Languages

Language:Go 95.3%Language:Makefile 3.1%Language:Shell 1.0%Language:Dockerfile 0.7%