Icreated Web Store API plugin for iDempiere
TL;DR
This server side plugin is created to show how API REST can be used in OSGI Idempiere Environment. It’s based on Jersey API Framework, Java-JWT for security purposes & Swagger integration:
Attention This plugin needs some more development that will be done in the future.
- OpenAPI first approach
- Generated models and services
- MapStruct integration
- QA review
Features
This API provides following services:
It’s quite enough to build a real frontend commercial site with. As an example you can check an WebStore Angular project built on it:
Installing / Getting started
To build this plugin you need to get sources in your project directory:
git clone https://github.com/icreated/webstore-api.git
Build it with Maven:
mvn verify
Deploying / Publishing / Testing
Check if plugin is working by getting OpenAPI description file:
http://localhost:8080/services/api-docs/openapi.xml
To check and test REST services install Swagger plugin from here:
https://github.com/icreated/swagger
Make sure that Swagger plugin points to http://localhost:8080/services/api-docs/openapi.xml