- git pull https://github.com/tahaburak/puck-spring-boot-h2.git
- mvn clean install
- java -jar -Djasypt.encryptor.password=deneme12 target/puck-spring-boot-h2-exec.jar
Requires nodeJS
- download installer x64
- control with node -v and npm -v
- npm config set strict-ssl false
- npm install -g json-server
- json-server --watch src/main/resources/database/users.json
- Visit http://localhost:3000/ or http://localhost:3000/users
Visit http://localhost:7777/h2-console/
- Driver Class: org.h2.Driver
- JDBC URL: jdbc:h2:file:./src/main/resources/database/db
- UN: test
- PW: sa
If json-server is running will be used as main source, else H2 DB. If H2 fails (no Users table) dummy service will generate users.
If H2 fails call refresh http://localhost:7777/h2/refresh/users
- https://start.spring.io/
- https://www.gitignore.io/
- https://github.com/google/google-java-format
- https://www.h2database.com/
- https://projectlombok.org/
- https://github.com/FasterXML/jackson
- https://swagger.io/docs/specification/2-0/basic-structure/
- https://github.com/ulisesbocchio/jasypt-spring-boot (ENCRYPTION)
- https://github.com/DiUS/java-faker