Public | Automated Build

Last pushed: 10 months ago
Short Description
Microservice using Mojolicious (Perl)
Full Description

MojoMVC

Mojolicious MVC Framework

Template for a Perl (Mojolicious) Microservice

Features:

  • Mojolicious
  • SQLite
  • ZeroMQ
  • RabbitMQ
  • Swagger/OpenAPI
  • Unit Testing
  • Docker (x86 and ARM)
  • Docker-Compose
  • Travis CI
  • MongoDB

Build package:

$ perl Makefile.PL
$ make test
$ make manifest
$ make dist

Run application:

$ morbo script/my_app

Run test:

$ perl script/my_app test

Run via docker:

$ docker run -d -p 8080:80 milagan77/mojomvc

Run via docker-compose:

$ docker-compose up

Access swagger API definition:

$ curl http://<ip_address>:<port_no>/api

Access sample REST API method:

$ curl http://<ip_address>:<port_no>/api/sample
Docker Pull Command
Owner
milagan77
Source Repository