Skip to content

Import a getfit-spring-native generated CSV file into a database and host a local web server to display it's contents

License

Notifications You must be signed in to change notification settings

afarentino/getfitdb-spring-native

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GetFitDB-Spring-Native

GetFitDB-Spring-Native adds database support to the core libraries found in the GetFit-Spring-Native project.

Technologies Used

  • Spring Native
  • Spring Boot
  • Spring Web
  • SQLite
  • HTML5/CSS/Javascript
  • Gradle 7.x
  • JUnit 5
  • Java OpenJDK 17
  • GraalVM CE with Native Image Support

Application Background

Given a CSV File as input the application will create a new table called records and insert the rows found. If the records tables exists the new rows only found in the csv file are added.

If no --inFile argument is specified, the application starts in server mode only firing up an embedded Tomcat web container to display a page containing the contents of the underling database.

Native SQLite database tooling can be used to view the tables. A Tiny web application is provided to generate a page showing the contents of the database.

Usage

Import a CSV

getfitdb --inFile fileName.csv

Building

Download the source code of this project and follow the documentation over in the HELP.md file.

License

About

Import a getfit-spring-native generated CSV file into a database and host a local web server to display it's contents

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published