A textboard written in Perl https://posttext.pl
Go to file
2022-08-23 20:41:15 -04:00
assets GAAAAAHHHHHHHH 2022-08-15 18:41:40 -04:00
lib/PostText/Model Lil cleanup 2022-08-23 20:24:58 -04:00
migrations Forgot a few things here 2022-08-22 12:27:08 -04:00
t Clean up the single thread view a bit and put a test in place 2022-08-19 23:28:16 -04:00
templates Clean up this template a lil 2022-08-23 20:05:07 -04:00
.gitignore Ignore these stupid files c'mon 2022-08-15 18:36:52 -04:00
AUTHORS Put some files in place for later; implement a basic Mojolicious::Lite app 2022-07-22 18:37:31 -04:00
cpanfile Implement AssetPack 2022-08-15 18:35:30 -04:00
LICENSE Initial commit 2022-07-22 17:22:23 -04:00
PostText.pl Can't remember why this was in here 2022-08-23 20:41:15 -04:00
README.md Another TODO 2022-08-23 20:38:56 -04:00

Post::Text

A textboard written in Perl

Installing locally

Install dependencies

cpanm --installdeps .

Running locally

Run it in development mode

morbo -w assets/css/ -w lib/ -w migrations/ -w t/ -w templates/ PostText.pl

Now try requesting http://localhost:3000

Testing

Run the tests locally (against development environment)

prove -l

TODOs

  1. Hyperlink to remarks form
  2. Is there something I can do about route names?
  3. I'm kinda hardcoding the single-thread view link_to in the templates because I cannot for the life of me figure out how to use url_for to populate the thread_id placeholder. Probably need to clean-up the HTML too, just used <span> cuz I didn't know what else to use
  4. Tests for remark form
  5. Marked some items for clean up with comments
  6. Method names may need to be shortened
  7. Change 'view' to something like 'list' or 'browse'