Skip to content

JKomoroski/auto-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AutoApp

A quick dropwizard guicey demo application

About

  • Supports http1.1 and http/2 connections

Requirements

  • JDK 21
    • I Prefer of OpenJDK Temurin Distribution Over The Oracle Distribution of OpenJDK
  • A recent version of maven

How to run the App Locally

  • Edit the config.yml and set a preferred sqlite db file location.
  • Build the app and executable
./mvnw clean install
  • Initialize the Database File
./app/target/app db init ./app/target/classes/config.yml
  • Run the migrations (must be done any time new migration scripts are created)
./app/target/app db migrate ./app/target/classes/config.yml
  • If you'd like, view the current database status
./app/target/app db info ./app/target/classes/config.yml
  • Run the web server
./app/target/app server ./app/target/classes/config.yml
  • Test the app apis
curl localhost:8080/auto-app/ping
  • Test the admin servlet apis
curl localhost:8080/admin/healthcheck

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published