Skip to content
This repository has been archived by the owner on Aug 18, 2023. It is now read-only.

alb2k/fuel-filling-service

Repository files navigation

fuel-filling-service Demo Build Status

A helidon (microprofile) RESTful webservice with microstream.

The project represents a basic CRUD webservice where you can manage fuel fillings (of a car).
It is also shipped with a nice UI (openapi-ui) so that no external REST/HTTP client is required.

Used technologies

Documentation about this project is available here

The demo is hosted on heroku.
It may take some seconds to start.

openapi-ui screenshot

Download Release Status

There are prebuilt executables, so that you don't have to build the code locally.

JAR

Docker Latest docker version Develop docker version

  • Run the latest release using docker run --rm -p 8080:8080 --name fuel-filling alb2k/fuel-filling-service
  • Stop/Remove it with docker stop fuel-filling
  • Open http://localhost:8080

Building / Executing it locally

If you don't want to use the prebuilt executables you can also build the project.
You can either build and execute this project IDE-based or directly with Java or Docker.

IDE

Requirements (the IDE should contains these functions):

  • Java 11
  • Maven 3

Run it

  • Build the project with mvn clean package
    NOTE: Normally this is not required, but it should be done when you wish to update the openapi file
  • Start/Debug the project by invoking io.helidon.microprofile.cdi.Main

Java/JAR

Requirements:

  • Java 11
  • Maven 3

Building the JAR

  • Build the project with mvn clean package
  • Run the built jar with java -jar target/fuel-filling-service.jar
  • Open http://localhost:8080

Docker

Requirements:

  • Docker

Building and running it

  • Build the image with docker build -t fuel-filling .
  • Execute it with docker run --rm -p 8080:8080 --name fuel-filling fuel-filling
  • Stop/Remove it with docker stop fuel-filling

Dependencies and Licenses dependency overview Apache License 2.0

For the license of this project, check the LICENSE file
A summary of all dependencies and their licenses is also available online

This project was created for the Microstream hackathon