Skip to content

Generating RESTful full stack software: a DDD approach

Notifications You must be signed in to change notification settings

jdomainapp/jda-mosar

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

53 Commits
 
 
 
 
 
 

Repository files navigation

Generating RESTful Full Stack Software

Author Version Date
Duc Minh Le 1.0 05 Oct 2021
Contributors: Ha Thanh Vu,
Binh Hai Do

Technical report

Extended version of the paper submitted to the ICISN'22 conference.

CourseMan Example

Domain Model

The domain model of CourseMan

Figure 1. The domain model of CourseMan.

Source code

Source code zip file

The domain model of CourseMan

Figure 2. The CourseMan source code directory structure.

Note the following packages listed in Figure 2:

  • modules: the domain model and associated MCCs, organised into modules
  • software: the SCC and executable software
  • utils: domain-specific utility classes
  • exceptions: domain-specific exceptions
  • backend: the pre-generated backend (in Spring Boot)
  • frontend: the pre-generated frontend (in React.js)

Binary distribution

Binary distribution of module RESTFSTool as part of the JDA framework.

Download link

How to execute the generator functions

Assume current dir: /tmp

  1. Extract the source code zip file to the current dir to create the src dir path explained previously.
  2. Delete the pre-generated backend and frontend packages
  3. Extract the binary distribution zip file to the current dir to create the following directory path: dist/bin
  4. Execute the following command to generate the backend and frontend:
java -cp ./dist/bin org.courseman.software.CourseManRFSGen

  1. The generated source code are saved to the backend and frontend packages in the source code folder.

Releases

No releases published

Packages

No packages published