Skip to content

Latest commit

 

History

History
25 lines (16 loc) · 1.31 KB

readme.md

File metadata and controls

25 lines (16 loc) · 1.31 KB

RealWorld Example App

OpenLiberty + JPA codebase containing real world examples (CRUD, auth, advanced patterns, etc) that adheres to the RealWorld spec and API.

This codebase was created to demonstrate a fully fledged fullstack application built with OpenLiberty + MicroProfile + JPA including CRUD operations, authentication, routing, pagination, and more.

For more information on how to this works with other frontends/backends, head over to the RealWorld repo.

Getting started

This codebase uses a PostgreSQL database to persist its data. Use the provided docker-compose.yaml to start the required DB.

You will need JDK17 as a prerequisite and our current build tool of choice is Maven.

IntegrationTests are ran with MicroShed, using Testcontainers. Make sure you've configured a docker environment according to this reference

  • Clone this repo
  • Run the provided docker-compose.yaml to have a working PostgreSQL DB
  • Run mvn liberty:dev to start a development OpenLiberty server with live updates