tutor

command module
v0.0.0-...-ffc1a67 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 5, 2025 License: Apache-2.0 Imports: 6 Imported by: 0

README ยถ

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

Documentation ยถ

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL