Skip to content

Instantly share code, notes, and snippets.

@jojopad
Last active January 17, 2022 14:22
Show Gist options
  • Save jojopad/3b227085014c4b3e4d3c7eeaf4555631 to your computer and use it in GitHub Desktop.
Save jojopad/3b227085014c4b3e4d3c7eeaf4555631 to your computer and use it in GitHub Desktop.

Java 11 and Maven

Install Java 11 and Maven using https://sdkman.io/install

Install SDKMan

$ curl -s "https://get.sdkman.io" | bash

Install Java 11 Temurin

$ sdk install java 11.0.13-tem 

Install Maven

$ sdk install maven

NodeJS and NPM

Install the latest NodeJS LTS version from https://nodejs.org

For Linux, see https://nodejs.org/en/download/package-manager

Getting Started

Backend Micronaut Service

Inside the project folder where the pom.xml is located, run the Backend Service app with the following Maven command:

mvn mn:run

Access the API docs using the following urls:

http://localhost:8888/swagger-ui

http://localhost:8888/redoc

http://localhost:8888/rapidoc

Use the following API endpoint for the CSV compare:

POST /compare

Frontend Svelte App

Inside the web-app folder, run the Frontend Svelte App:

npm install

npm run dev

Access the Svelte App using the following url:

http://localhost:8080
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment