Guestbook for my homepage
Go to file
2022-01-02 02:45:27 -05:00
assets Initial flash error implementation 2022-01-01 23:37:41 -05:00
lib/GuestbookNg/Model Set default value for message_date column 2022-01-02 02:30:10 -05:00
migrations Set default value for message_date column 2022-01-02 02:30:10 -05:00
public/misc Initial AssetPack setup 2021-12-22 23:18:35 -05:00
t Back-end stuff to get the URL field working 2021-12-31 23:45:21 -05:00
templates Initial flash error implementation 2022-01-01 23:37:41 -05:00
.gitignore Initial DB implentation (try again) 2021-12-04 18:36:10 -05:00
cpanfile Filter URLs out of message body 2022-01-02 02:01:45 -05:00
Dockerfile Implement Dockerfile 2021-12-30 20:52:34 -05:00
guestbook-ng.pl Set session expiration 2022-01-02 02:45:27 -05:00
LICENSE Initial commit++ 2021-12-04 00:11:37 -05:00
README.md Set default value for message_date column 2022-01-02 02:30:10 -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

Docker

Build

docker build -t guestbook-ng .

TODOs

  1. Input validation