Giter Club home page Giter Club logo

mariocodes / functional-templates Goto Github PK

View Code? Open in Web Editor NEW
2.0 2.0 1.0 42.97 MB

Several templates to use directly, out of the box with maven already configured. Different templates for different functionalities and objectives.

Java 65.60% Kotlin 17.19% Shell 0.22% HTML 0.75% CSS 0.17% JavaScript 2.53% Ruby 0.38% Python 0.08% C# 12.72% Dockerfile 0.37%
java-templates maven vertx vertx3 kotlin kotlin-template java-kotlin template templates template-project

functional-templates's People

Contributors

dependabot[bot] avatar mariocodes avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

Forkers

alexrogalskiy

functional-templates's Issues

add template Android

Edit Android App so all the examples I created until now, remain there but as templates without details of my app.

Cross compile Kotlin & Java11

Right now, all my Kotlin projects compile together with Java8. There's not much support to change to Java11 and I couldn't find any version of the following plugin for Java11

<dependency>
    <groupId>org.jetbrains.kotlin</groupId>
    <artifactId>kotlin-stdlib-jdk8</artifactId>
    <version>${kotlin.version}</version>
</dependency>

Couldn't find anything at all at Stackoverflow neither. Check again in the future.

Improve abstract builders with filled Lists

For a Bean with a List:

public class Bean {
    private List<String> list; 
}

The Randomizer class will fill it with an empty List. Change it so that it gives a filled List back.

fix multi-module templates

They're too much work to keep them up to date. Think which ones is worth to keep as multi-module and which ones should I convert back to 1-module

Java11

Update and test all the pom versions to Java11

Add dependency to .kt projects

I found the following dependency for testing more with kotlin's style:

<dependency>
    <groupId>org.jetbrains.kotlin</groupId>
    <artifactId>kotlin-test</artifactId>
    <version>check_last_version</version>
    <scope>test</scope>
</dependency>

Implement it in all my kotlin projects.

Convert java commons to kotlin commons

Right now I'm implementing the builders in kotlin as a java dependency based on reflection. Find and substitute the java builders implemented in the plugin commons for its kotlin equivalent.

Remove unneded dependencies

Check and remove all the dependencies which are not needed for a project. For example why the only Spring version contains Spring data JPA?

Divide into Maven Dependencies

Right now I have the same code duplicated x6 (abstract builders) hardcoded into every project.
Declare it as a Maven dependency and add them as a testing module so it's not included into the fat jar.

Improve kotlin-jpa template

Improve this template with examples on:

  • how to declare an Entity in kotlin
  • how to declare a DAO
  • how to declare a RestController which uses a validator

Improve commons module

Right now on mvn clean install the commons module generates too a target/ with a jar that I don't need nor use.
Fix the pom build so that only main-project generates a target/ folder

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.