Guestbook for my homepage
Go to file
2021-12-11 19:01:43 -05:00
lib/GuestbookNg/Model Clean up the Test model 2021-12-11 19:01:43 -05:00
migrations/1 Implemented migrations dir 2021-12-04 22:33:53 -05:00
t Clean up the Test model 2021-12-11 19:01:43 -05:00
templates Clean up the Test model 2021-12-11 19:01:43 -05:00
.gitignore Initial DB implentation (try again) 2021-12-04 18:36:10 -05:00
cpanfile Initial DB implentation (try again) 2021-12-04 18:36:10 -05:00
guestbook-ng.pl Clean up the Test model 2021-12-11 19:01:43 -05:00
LICENSE Initial commit++ 2021-12-04 00:11:37 -05:00
README.md Implement separate dev and prod DBs 2021-12-11 18:48:00 -05:00

guestbook-ng

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.

DB Config

$ cat guestbook-ng.conf
{
    secrets  => ['a_secret_here'],
    dev_env  => {
        pg_user => 'guestbooker',
        pg_pw   => 'a_password_here',
        pg_db   => 'guestbook',
        pg_host => 'localhost'
    },
    prod_env => {
        pg_user => 'guestbooker',
        pg_pw   => 'prod_password_here',
        pg_db   => 'guestbook',
        pg_host => 'prod.db.com'

    }
}

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

TODOs

  1. Add tests for /post route
  2. Probably rename /post to /sign
  3. Remove the Test model and clean up