Skip to content

Latest commit

 

History

History
63 lines (37 loc) · 1.57 KB

README.md

File metadata and controls

63 lines (37 loc) · 1.57 KB

Generate an Angular JS Web App

Build Status

NOTE: This is still a work in progress, we are looking for feedbacks from Angular JS experts.

Reverse a sample SQL schema and generate a full S-CRUD SpringBoot/JPA/AngularJS Web Application.

S-CRUD means: Search, Create, Read, Update, Delete

The code generation is done by Celerio.

The project uses its own code generation templates, see src/main/celerio.

The generated application relies on:

  • Springboot
  • JPA
  • Angular JS

Requirements

  • Java 8
  • Maven 3.1.1
  • npm
  • bower

How to run it

Step 0: Retrieve frontend libraries

bower install

Step 1: reverse the sample SQL schema and generate the source code

From this folder run from:

mvn -Pdb,metadata,gen

Step 2: Run the app

mvn spring-boot:run

Step 3: access the app and play

http://localhost:8080/myApp

Extra tip: delete generated code

mvn -PcleanGen clean

Contribute

You may contribute in several ways:

  • By using the generated app and trying to find its limits
  • By reviewing the generated code, is Spring Boot / AngularJS properly used ?
  • By trying to generate a project using your own database schema

You may of course report issues and/or submit pull requests.