Skip to content

shout-star/uroborosql-springboot-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

uroboroSQL PetClinic Sample Application

uroboroSQL

This is uroboroSQL and Spring boot sample application.
We developed uroboroSQL as a sample to use in web application.

This sample was inspired by Spring PetClinic and made.

In order to have you learn how to use uroboroSQL, some functions are added.

Running locally

From source

$ git clone https://github.com/shout-star/uroborosql-springboot-demo
$ cd uroborosql-springboot-demo
$ ./mvnw spring-boot:run

From releases

$ java -jar uroborosql-petclinic-0.2.0.jar

You can then access petclinic here: http://localhost:8090/

PetClinic

Development running

$ cd client
  
# Running web server at port 8091.
$ npm run dev
  
$ cd ..
  
# Running rest server at port 8090.
$ ./mvnw spring-boot:run

You can then access petclinic here: http://localhost:8091/

Database configuration

In its default configuration, Petclinic uses an H2 database.

Prepare database schema and initial data

Auto

If petclinic.db-auto-init=true is set, setup/schema.sql and setup/data.sql are executed at startup.

Manual

$ cd uroborosql-springboot-demo
$ ./mvnw -PREPL
  
uroborosql > update setup/schema
uroborosql > update setup/data

Architecture

Requirement

  • Java 1.8 or later.

Backend

Frontend

JavaScript Libraries

CSS

License

Released under the MIT License.

Copyright (c) 2017 KENICHI HOSHI.

About

Spring boot & uroboroSQL sample application

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages