An template for an application including :
- Spring boot
- Postgresql database access
- Flyway to create database schema
- Bulma for CSS Design
- Jsweet to generate .d.ts files from Java classes
- Webpack bundling typescript files with dependencies
- VueJS for vue development
./template.sh DEST_FOLDER githubusername MyApp MyBean myscreenname Where :
- DEST_FOLDER is the folder to put the generated code
- githubusername is your githubusername
- MyApp is the name of the java class for yout App
- MyBeam is an example of a bean and table
- myscreenname is a name of the mains screen of the application
cd DEST_FOLDER
mvn eclipse:eclipse && mvn jsweet:jsweet && npm install && ./node_modules/.bin/webpack --env development
psql -U postgres -f src/main/db/createdb.sql
mvn spring-boot:run
mvn eclipse:eclipse
mvn jsweet:jsweet
npm install
./node_modules/.bin/webpack --env development
./node_modules/.bin/webpack --watch --env development