As part of a coding interview at Uni2Grow Cameroun SARL, this project builds a REST API that exposes invoicing capabilities.
-
Create a new MariaDB/MySQL database in your local environment, and override pertaining configuration entries in
src/main/resources/application-default.yml
. Since the file is uncommitted, please create it.# Example spring: datasource: url: jdbc:mariadb://localhost:3306/digital_invoicing username: root password: toor
-
Next, run the provided
AppDataFakerTests
class to populate the database with fake data so as to demonstrate operability. If you encounter errors resulting from duplicate entries, please re-try. -
Boot the application as per usage.
-
Hit the root path
http://localhost:8092
to test the app is up and running.{ "app": "DigitalInvoicing", "clk": "2023-06-28T03:13:47.653265265Z" }
-
The inventory of available endpoints is parsed by Swagger at
http://localhost:8092/swagger-ui/index.html
.