apptemplate:使用Spring Boot TypeScript VueJS的Java应用程序模板

  • z2_197923
    了解作者
  • 1.7MB
    文件大小
  • zip
    文件格式
  • 0
    收藏次数
  • VIP专享
    资源类型
  • 0
    下载次数
  • 2022-05-20 19:33
    上传日期
应用程序模板,包括: Sprint Boot PostgreSQL数据库访问 Flyway创建数据库架构 Bulma CSS设计 Jsweet从Java类生成.d.ts文件 Webpack捆绑带有依赖项的打字稿文件 VueJS用于vue开发 实例化: 运行模板: ./template.sh DEST_FOLDER githubusername MyApp MyBean myscreenname其中: DEST_FOLDER是放置生成的代码的文件夹 githubusername是您的githubusername MyApp是yout App的Java类的名称 MyBeam是一个bean和表的示例 myscreenname是应用程序主屏幕的名称 移至生成的代码: cd DEST_FOLDER 然后运行以在一个内衬中生成代码: mvn eclipse:eclipse && mvn j
apptemplate-master.zip
内容介绍
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 # To instantiate : ## Run for templating: > ./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 # Move to generated code : > cd DEST_FOLDER ## Then run for generating code in one liner: > mvn eclipse:eclipse && mvn jsweet:jsweet && npm install && ./node_modules/.bin/webpack --env development ## Create postgresql database : > psql -U postgres -f src/main/db/createdb.sql ## Run the app : > mvn spring-boot:run ## Open following url in browser : > <http://localhost:8080/> # Details ## Generate Eclipse project: > mvn eclipse:eclipse ## To generate .d.ts files from java: > mvn jsweet:jsweet ## To install js dependencies : > npm install ## To build js bundles from .ts files one time: > ./node_modules/.bin/webpack --env development ## To build js bundles from .ts files by watching contents : > ./node_modules/.bin/webpack --watch --env development
评论
    相关推荐