Skip to content

dagolden/zzz-nypm-dancer-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Demonstration of a Perl Dancer web application

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published