Workspace with sample solutions for training purposes using Liferay DXP 7.4
modules
├── amf-registration
│ ├── amf-registration-api
│ ├── amf-registration-service
│ ├── amf-registration-web
- Create
*-api
and*-service
modules usingservice-builder
template; - Define entities in
service.xml
; - Run
blade gw buildService
in/amf-registration-service
directory to generate models and classes; - Implement logic in
*LocalServiceImpl
and*ServiceImpl
classes; - Define backend validation and exceptions, if needed;
- Create
*-web module
module usingmvc-portlet
template;
modules
├── amf-registration
│ ├── amf-registration-api
│ ├── amf-registration-service
│ ├── amf-registration-web-rest
│ ├── amf-registration-web-js
- Create
*-api
and*-service
modules usingservice-builder
template; - Define entities in
service.xml
; - Run
blade gw buildService
in/amf-registration-service
directory to generate models and classes; - Implement logic in
*LocalServiceImpl
and*ServiceImpl
classes; - Define backend validation and exceptions, if needed;
- Create
*-web-rest
module to expose endpoints which will be called by FE layer; - Run
npm install -g yo generator-liferay-js
to install the Liferay JS Generator; - Then, run
yo liferay-js
to generate a React based portlet bundle project.