Skip to content
Demonstration of a Perl Dancer web application
JavaScript Perl
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
bin
environments
lib/MyWeb
public
t
views
.gitignore
LICENSE
MANIFEST
MANIFEST.SKIP
Makefile.PL
README.md
config.yml

README.md

README

Description

This software repository contains a minimal demonstration of a Perl Dancer web application. The application demonstrates user registration, email confirmation, and lost password reset.

Technology demonstrated includes:

Installing dependencies

The easiest way to install Perl dependencies is to install cpanminus first and run it from the checked out repository directory.

$ cpanm --installdeps .

You will also need to install MongoDB on your system. (Note that as of this writing, the MongoDB Perl driver is version 0.503.3 and requires MongoDB version 2.2.2 to pass tests. It should be OK to force install if you have an older MongoDB.)

Running the demo

Once all dependencies are installed, use the 'plackup' command:

$ plackup bin/app.pl

Then browse to the web page indicated in the console, typically http://0:5000/

Sending emails

Email sending is mocked using Postmark's test API key. To send real email, signup with Postmark and change the support_email config.yml key to an email you have validated with Postmark, and change the WWW::Postmark plugin option to your API key associated with the support email address.

Sources

All sources included are subject to their own open-source license terms:

Some source files generated by or adapted from additional sources, also under their own open-source license terms:

License

All other files not from the above named sources are copyright (c) 2013 by David A. Golden and are licensed under The Apache License, Version 2.0, January 2004

Something went wrong with that request. Please try again.