Skip to content

Latest commit

 

History

History
32 lines (27 loc) · 1.47 KB

README.md

File metadata and controls

32 lines (27 loc) · 1.47 KB

Tech Stack:

  • Open JDK 11

  • Micronaut Web Framework

  • Postgres database

  • Liquibase migration library

  • Testcontainers for database integration test

  • Docker

  • Install JDK: $brew cask install adoptopenjdk/openjdk/adoptopenjdk11

  • Setup JAVA_HOME: Follow these steps.

  • Select Gradle JVM Version 11.08

Steps to run locally:

  • Install postgres(optional), docker
  • Run the command : docker compose up -d
    • First time this takes time to download the docker image and get the postgresql up.
  • Build: ./gradlew clean build
  • Build with lint: ./gradlew clean buildWithLint
  • Apply norm changes: Run ./gradlew norm
  • Run application: ./gradlew run. App would run on http://localhost:9000
    • Test application using http://localhost:9000/api/movies
  • Run application in watch mode: ./gradlew run -t
    • This will restart the server on code changes

Micronaut 2.5.1 Documentation