This is simple API create with support of Spring Boot, Gradle and Java.
-
Install MySQL (if you have it already ignore this step)
-
Create database BlazeDemo
-
In file src/main/resources/application.yml fill in username and password with credentials of your DB
-
Execute src/main/resources/add_tables.sql file to create tables with test data
-
In command line cd to checkout repo and execute:
5.1. *nix systems - ./gradlew build
5.2. windows systems gradlew.bat build
-
Execute from command line via java -jar build/libs/blaze-demo-api-1.0.jar command
- Open terminal
- Execute ./gradlew test (*nix systems) or gradlew.bat (windows systems)
- Unit tests (src/test/com/demo/unit)
- Rest tests (src/test/com/demo/rest)
- Bdd tests (src/test/com/demo/bdd)