Guestbook for my homepage
Go to file
2021-12-30 19:54:44 -05:00
assets CSS tweaks 2021-12-25 01:05:34 -05:00
lib/GuestbookNg/Model Clean up get_last_page() 2021-12-25 01:46:39 -05:00
migrations SQL style clean-up 2021-12-19 19:09:16 -05:00
public/misc Initial AssetPack setup 2021-12-22 23:18:35 -05:00
t Use the DB for form test 2021-12-19 22:43:42 -05:00
templates CSS tweaks 2021-12-25 01:05:34 -05:00
.gitignore Initial DB implentation (try again) 2021-12-04 18:36:10 -05:00
cpanfile Initial AssetPack setup 2021-12-22 23:18:35 -05:00
guestbook-ng.pl Initial AssetPack setup 2021-12-22 23:18:35 -05:00
LICENSE Initial commit++ 2021-12-04 00:11:37 -05:00
README.md Moar TODOs that will never get done 2021-12-30 19:54:44 -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'],
    'TagHelpers-Pagination' => {
        separator => ' ',
        current   => '<strong>{current}</strong>'
    },
    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'

    },
    max_posts => 5
}

secrets and the DB credentials are mandatory

Testing

$ prove -l
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. Input validation
  2. Add homepage/URL field and filter URLs out of message body
  3. Flash error for CAPTCHA failures and what nots
  4. Replace HTML tables with CSS grids(!!)
  5. Add column to tag posts as spam or hidden
  6. Dockerfile
  7. Add homepage/URL field