Skip to content

n11-TalentHub-Java-Bootcamp/n11-talenthub-bootcamp-graduation-project-sametkesici

Repository files navigation

  1. How To Run
    1. Docker
    2. Local
  2. Liquibase
  3. Logging
  4. Design Pattern
  5. Docker
  6. Swagger
  7. Unit Tests
  8. Screenshots

How To Run

Running as docker container

cd creditapplication-backend/compose && docker-compose up
client,db and backend will start working together.

backend : localhost:8080
client : localhost:3000
db : localhost:5432

Locally

cd compose && docker-compose up postgresqldb
change application.yaml file for db connection ( url: jdbc:postgresql://localhost:5432/creditapplication )
change creditapplication-client -> package.json -> proxy ( "proxy": "http://localhost:8080" )
Build project

Liquibase

I have used Liquibase for managing database tables, sequences and default data. It will create all stuff on first run

Logging

Logging configuration is located in the resource folder file named logback-spring.xml.Logs are saved in a folder named logs in the main directory.

Design Pattern

Strategy Design Pattern using for credit limit calculation. You can find it in the service package with the name strategy.

Docker

Application only needs postgres to run and you can run it from docker-compose also application is dockerized you can find steps at the top of the page

Swagger

Swagger url = localhost:8080/swagger-ui.html

Unit Tests

I have tried to write unit tests for business code. I have used JUni5 with Mockito

Screenshots

Example screenshot

Example screenshot

Example screenshot

Example screenshot

About

n11-talenthub-bootcamp-graduation-project-sametkesici created by GitHub Classroom

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published