Report service is a part of the AMPnet crowdfunding project on Ethereum blockchain.
Service must have running and initialized database. Default database url is locahost:5432.
To change database url set configuration: spring.datasource.url in file application.properties.
To initialize database run script in the project root folder:
./initialize-local-database.shApplication is running on port: 8137. To change default port set configuration: server.port.
./gradlew build./gradlew bootRunAfter starting the application, API documentation is available at: localhost:8137/docs/index.html.
If documentation is missing generate it by running gradle task:
./gradlew copyDocs./gradlew testSet public key property to verify JWT: com.ampnet.reportserviceeth.jwt.public-key