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.
- 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 firstname.lastname@example.org: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
restx app run --mode=prod --quiet
and play with REST endpoints.
Build and tests
Test & Packaging with Easyant:
easyant test package
Test & Packaging with Maven:
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.