Skip to content

REST APIs implemented using Maven, Spring Boot, Hibernate, in-file and PostegreSQL database, Swagger, Jackson. Tested using Junit, Mockito, MockMVC

Notifications You must be signed in to change notification settings

sanogotech/Accounting-systemInvoice

 
 

Repository files navigation

Accouting-system

Accounting system with possibility to add invoices, calculate taxes, generate PDFs and send emails. There are multiple implementations of databases provided to exercise various concepts: sql, no-sql, custom file database. The Project contains 4 various REST services, over 295 test cases and over 17815 lines of code with 80% test coverage.

Code style

js-standard-style

Tech/framework used

Built with

Installation

  • Using JDK 1.8 is recomended. Project was test on this JDK version.
    1) Open project with your IDE eg. IntellJI, Eclipse
    2) Set checkstyle to google-checkstyle
    3) Generate binding classes from src\main\resources\invoice.xsd.
    Run Maven-compile or use command 'xjc -d src -p com.example.xjc example.xsd' in terminal
    4) You can run Maven-verify to check, if project builds correctly.

Setup Database

In application you can choose between five databases:

  • InFile
  • Mongo
  • SQL (JDBC)
  • SQL (Hibernate)
  • and InMemmory database (set by default).

You can change the database in 'application.properties` file

pl.coderstrust.database:
inFile
inMemory
inMongo
hibenate

API Reference

Start the application and open the URL for API Documentation http://localhost:8080/swagger-ui.html Swagger API

About

REST APIs implemented using Maven, Spring Boot, Hibernate, in-file and PostegreSQL database, Swagger, Jackson. Tested using Junit, Mockito, MockMVC

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 68.0%
  • Jupyter Notebook 32.0%