Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/davorg/dancer-api-demo
Simple demo of some Dancer2 API tricks
https://github.com/davorg/dancer-api-demo
Last synced: 12 days ago
JSON representation
Simple demo of some Dancer2 API tricks
- Host: GitHub
- URL: https://github.com/davorg/dancer-api-demo
- Owner: davorg
- Created: 2021-10-10T09:59:23.000Z (about 3 years ago)
- Default Branch: master
- Last Pushed: 2022-12-20T12:36:21.000Z (almost 2 years ago)
- Last Synced: 2024-05-02T00:30:56.753Z (6 months ago)
- Language: Perl
- Size: 61.5 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# dancer-api-demo
Simple demo of some Dancer2 API tricks
This is the code that accompanies my blog post
[In-place editing with Dancer2 and jQuery](https://dev.to/davorg/in-place-editing-with-dancer2-and-jquery-efd).It's a simple Dancer2 application that demonstrates in-place editing of text fields on a web page.
## Running the demo
Check out the code
$ git clone https://github.com/davorg/dancer-api-demo.git
### version 1
Change directory$ cd dancer-api-demo
Install required modules$ cpanm --installdeps APIDemo
### version 2
Change directory$ cd dancer-api-demo/APIDemo
Install required modules$ carton install
Move database to `dancer-api-demo/APIDemo`## Start the local server
$ plackup APIDemo/bin/app.psgi
Open a brower on http://localhost:5000/