A textboard written in Perl https://posttext.pl
Go to file
2022-08-23 19:09:08 -04:00
assets GAAAAAHHHHHHHH 2022-08-15 18:41:40 -04:00
lib/PostText/Model Some TODOs 2022-08-23 19:09:08 -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 Implement form for remarking to threads 2022-08-23 19:06:33 -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 Some TODOs 2022-08-23 19:09:08 -04:00
README.md Some TODOs 2022-08-23 19:09:08 -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. In remark form, show the parent thread and maybe the last reply too
  3. Is there something I can do about route names?
  4. 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
  5. Tests for remark form
  6. Marked some items for clean up with comments
  7. Method names may need to be shortened