Skip to content

Java SpringBoot based application that manages invoices through REST API +print to PDF

Notifications You must be signed in to change notification settings

valioprea/invoice-management-app

Repository files navigation

invoice-management-app

Java SpringBoot based application that manages invoices through REST API

What is it about?

You can create, view and delete invoices of products of your choice and store them in a database.

Additionally, it's possible to print them out to PDF.

Routing

    /invoices GET - view all invoices
    /invoice POST - create an invoice & store to dbs
    /invoice/{id} GET - specific invoice by Id
    /invoice/{id} DELETE - specific invoice

    /invoice/{id}/print GET - print to pdf specific invoice
    /invoice/printall GET - print to pdf all invoices

How does an invoice look like ?

{ "name": "Vali", "receiverName": "Dani", "itemList": [ { "itemName": "cars", "itemInfo": { "quantity": 3, "price": 10 } }, { "itemName": "bananas", "itemInfo": { "quantity": 2, "price": 50 } } ], "priceWithVAT": 300, "priceWithoutVAT": 250 }

Technologies used

  • SpringBoot
  • h2 database
  • REST API
  • librePDF

Have fun!

About

Java SpringBoot based application that manages invoices through REST API +print to PDF

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published