-
Notifications
You must be signed in to change notification settings - Fork 1
manwar/Dancer2-Cookbook
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
Dancer2 Cookbook
----------------
Example 1: Bookstore
INSTALL:
- sudo cpanm Dancer2::Plugin::DBIC
- sudo apt install sqlite3 (Ony if required)
- sqlite3 bookstore.db < bookstore.sql
- sqlite3 bookstore.db < cpan.sql (Only if required)
- SCHEMA_LOADER_BACKCOMPAT=1 perl populate_database.pl
RUN:
- sudo plackup bin/app.psgi
FEATURE:
- List authors and their books.
- Add/Edit/Delete Author.
- Add/Edit/Delete Book.
- Search Author/Book.
Example 2: Continuation from Example 1
FEATURE:
- Added AJAX call to Delete Book page.
Example 3: Continuation from Example 2
FEATURE:
- Added login page and basic authentication.
- Added register page.
- Added logout functionality.
Example 4: Continuation from Example 3
FEATURE:
- Experimented with Dancer2::Core::Error.
- Added Chart using Highchart library with ajax call.
Example 5: Continuation from Example 4
FEATURE:
- Implemented CAPTCHA to the login page.
- Implemented CAPTCHA to the register page.
Example 6: Continuation from Example 5
FEATURE:
- Implemented route chaining.
- Added link 'Work', showing charts for GitHub/MetaCPAN favourites using route chaining.
- Implemented Dancer2::Plugin::Res.
About
Examples from the official Dancer2 Cookbook.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published