Skip to content

dkushche/GoBTCChecker

Repository files navigation

GoBTCChecker

How to run

make
./btcchecker

How to test

http -v POST http://localhost:8080/user/create email=${VALID_MAIL} password=${VALID_PASSORD} # password length [6, 15] symbols
http -v --session=${SESSION} POST http://localhost:8080/user/login email=${VALID_MAIL} password=${VALID_PASSORD}
http -v --session=${SESSION} GET http://localhost:8080/btcRate

How to configure

You may set bind-address, log level, storage path in existing configs/btcchecker.toml file or create your own and put its path as an argument to btcchecker(more ./btcchecker --help)

About

Basic API for checking Bitcoin exchange rate

Topics

Resources

License

Stars

Watchers

Forks