Skip to content

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

Repository files navigation

n11 TalentHub Java Bootcamp

Graduate Homework

Table of Contents
  1. About The Project
  2. Built With
  3. Getting Started
  4. Swagger Documentation
  5. EndPoints
  6. Client Informations
  7. License
  8. Contact

About The Project

This project is a small e-banking system.

  • Existing customers can be listed, updated and deleted.
  • A new customer can be registered to the system. Customer informations can be updated and deleted.
  • A customer can apply for a loan with an identification number.
  • A customer can see the approved loan application with his identification number and birthday information.
  • You can find detailed information about the rules of the project here.

Built With

Getting Started

Prerequisites

  • PostgreSql
  • Java 11 or newer

Installation

  1. Clone the repo
  git clone https://github.com/n11-TalentHub-Java-Bootcamp/n11-talenthub-bootcamp-graduation-project-furkanyesilyurt.git
  1. Configure application.properties files for PostgreSQL connection.
  2. Run the project then try it out https://localhost:8080/swagger-ui.html
  3. Send request to endpoints (The project is running on the 8080 port by defalt).

You can find the customer registration information here, where you can test 5 different scenarios in the project.

Swagger Documentation

Swagger Swagger2

You can reach the Swagger Api-doc.json at here.

EndPoints

Customer Controller

Method URI Request Body Description
GET /api/v1/customers Get all customers
POST /api/v1/customers {
"identityNo": "10735264974",
"firstname": "furkan",
"lastname": "yesilyurt",
"monthlyIncome": 4500,
"phone": "5386057030",
"birthday": "1998-11-25T01:34:38.657Z",
"guarantee": 10000
}
Save a customer
PUT /api/v1/customers {
"identityNo": "10735264974",
"firstname": "furkan",
"lastname": "yesilyurt",
"monthlyIncome": 4500,
"phone": "5386057030",
"birthday": "1998-11-25T01:34:38.657Z",
"guarantee": 10000
}
Update a customer
DELETE /api/v1/customers Delete a customer

Loan Controller

Method URI Description
GET /api/v1/loans Apply for a loan with identity no
GET /api/v1/loans/approved-credit See aprovved loan application

Client Informations

This page welcomes you when the project is started.

On this page you can register customers.

On this page, you can apply for a loan with customer identification number.

After applying for a loan, you will be greeted with this page informing you of the loan result.

On this page you can see the approved loan application with the identification number and date of birth.

After questioning the approved loan application, you will see this page.

License

Distributed under the MIT License. See LICENSE.txt for more information.

Contact

Furkan YEŞİLYURT

You can reach my other projects at here.

(back to top)

About

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published