A textboard written in Perl https://posttext.pl
assets | ||
lib/PostText/Model | ||
migrations | ||
t | ||
templates | ||
.gitignore | ||
AUTHORS | ||
cpanfile | ||
LICENSE | ||
PostText.pl | ||
README.md |
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
- Hyperlink to remarks form
- Is there something I can do about route names?
- 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 useurl_for
to populate thethread_id
placeholder. Probably need to clean-up the HTML too, just used<span>
cuz I didn't know what else to use - Tests for remark form
- Marked some items for clean up with comments
- Method names may need to be shortened
- Change 'view' to something like 'list' or 'browse'