Skip to content

Latest commit

 

History

History
59 lines (40 loc) · 1.14 KB

README.md

File metadata and controls

59 lines (40 loc) · 1.14 KB

RXInvoice

A sample for restx.io featuring jongo integration, security best practices, spec tests, validation, ...

Source code should be pretty easy to read, check out the src/main/java directory.

Running

Pre requisites:

  • Java 7
  • Git (or download via zip)
  • Restx shell with core plugin installed

Here is the most simple way to try this app:

git clone [email protected]:xhanin/rxinvoice.git && cd rxinvoice && restx deps install + app run

If you downloaded an unzipped the sources:

restx deps install + app run

When dependencies are already installed:

restx app run

Production mode:

restx app run --mode=prod --quiet

Accessing

open http://localhost:8080/api/@/ui/api-docs/#/

and play with REST endpoints.

Build and tests

Test & Packaging with Easyant:

easyant test package

Test & Packaging with Maven:

mvn package

Open in IDE

Simply import as Maven project.

With IntellJ command line installed, you can just do idea pom.xml from the command line.

Check restx IDE support doc for details.