Skip to content

Microstarter CLI 0.2.3

Choose a tag to compare

@hashimati hashimati released this 20 Nov 18:42
· 56 commits to master since this release

To install it, copy the "mc.bat," "mc," and "mc.jar" files to your Micronaut Project or configure their files in your environment. Then, the "mc" command will be ready to use.

Pre-Requisite

Java 11+

New Features:

  • Supporting GRPC Application Type.
  • Security syntax: to bootstrap security using domain language.
  • Views Configurations: thymeleafs, velocity, and feemaker.
  • Bug Fixes.
  • removing unnecessary printings

Security Syntax and Views Configuration Example:

service CustomerService{
    port 8080;  
    reactive reactor;
    package com.finance
    build gradle;
    database H2;
    language java;
    dao JDBC;
    views views-thymeleafs
    migrationTool liquibase;
    annotation micronaut;
    tracing jaeger;
    testFramework junit;

	security {
		type jwt; 
		roles CUSTOMER_ROLE, SELLER_ROLE;
	}
    
    entity Customer {
        name: String;
    }

    entity Product {
        name: String;
        price: BigDecimal;

    }

    entity cart {
        items: int;
        purchase: Date;
        sum: BigDecimal;
    }
}