Skip to content

HelloThisIsFlo/My-Java-Archetype

Repository files navigation

My Java Archetype

Example of 'My Java Archetype' as described on my Blog 'Florian Kempenich'.

To know more about what this Archetype is about, check out my article:

My Java Archetype - Florian Kempenich

A working implementation to explore

The goal of this implementation is to showcase the Archetype described in my article. Feel free to look into the code and see how I implemented each layer / module.

Quick start

3 scripts are available at the root of the project to allow you to get the application un and running in one click.

To run these scripts: Docker must be installed
Docker is used to pop a temporary Postgres container on port 1234. Postgres is required to run the integration tests as well as when running the app with database. If you do not wish to use Docker, you can also use your own instance of Postgres and update the configuration in application.yml

  • ./run_tests.sh

    Build the application and run all the tests
  • ./start_app_with_inmemory.sh

    Build and start the application. Application will be using in-memory storage.
  • ./start_app_with_inmemory.sh

    Build and start the application. Application will be using database storage (Postgres).

As always if you have a suggestion, comment, or doubt don't hesitate to post a comment on the related article.

About

Example of 'My Java Archetype' as described on 'The Professional Beginner'

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published