guestbook-ng/README.md

33 lines
793 B
Markdown
Raw Normal View History

2021-12-04 04:58:43 +00:00
# guestbook-ng
2021-12-04 05:11:37 +00:00
The goal of guestbook-ng is to integrate across vendors and customers
with full-service analytics insights by leveraging the latest in Perl
Mojolicious blockchain technologies powered by AI.
2021-12-04 23:36:10 +00:00
## DB Config
$ cat guestbook-ng.conf
{
secrets => ['a_secret_here'],
pg_user => 'guestbooker',
pg_pw => 'a_password_here',
2021-12-05 03:37:40 +00:00
pg_db => 'guestbook',
pg_host => 'localhost'
2021-12-04 23:36:10 +00:00
}
## Testing
$ prove -l t/*.t
t/basic.t .. ok
All tests successful.
Files=1, Tests=6, 1 wallclock secs ( 0.04 usr 0.00 sys + 0.58 cusr 0.05 csys = 0.67 CPU)
Result: PASS
Add the `-v` option for more verbose output
2021-12-04 05:11:37 +00:00
## TODOs
1. Add tests for `/post` route
1. Probably rename `/post` to `/sign`
1. Remove the Test model and clean up