Skip to content

cdemir7/vki-final-project

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

VKI_FinalProject

This project has been developed using Spring Boot to calculate the user's body mass index and save the results to a MySQL database running in Docker.

Getting Started

First, make sure you have the following requirements to run this project smoothly on your computer:

Requirements

  1. Java 20
  2. Intelij Idea Ultimate
  3. Docker

Dependencies

  • Spring Data JDBC
  • spring Data JPA
  • Spring Web
  • Spring Boot Devtools
  • Mysql Connector J
  • Lombok
  • Swagger
  • Model Mapper

Installation

  1. Docker Desktop Installation

    Docker Desktop Download from this link.

  2. Project Installation

    1.  git clone https://github.com/cdemir7/VKI_FinalProject.git

      Open the downloaded folder in IntelliJ IDEA.

    2. Configure the following properties in the

    src/main/resources/application.properties

    file by replacing the values of VERITABANI_ADI, KULLANICI_ADI, and PAROLA with your own:

           spring.datasource.url=jdbc:mysql://localhost:3306/VERITABANI_ADI
       
           spring.datasource.username=KULLANICI_ADI
       
           spring.datasource.password=PAROLA
    1. Create a database in the MySQL server with the same name as specified in the application.properties file.

    2. Run the project from IntelliJ IDEA.

  3. Usage

    1. Open the following URL in a web browser:
      http://localhost:8080/swagger-ui/index.html#/
      Here, you can perform CRUD operations.
  4. License

    This project is licensed under the MIT License. See the LICENSE file for more information.

POSTMAN API PersitURL

GET : localhost:8080/api/v1/user

POST : localhost:8080/api/v1/user

PUT : localhost:8080/api/v1/user/{id}

DELETE : localhost:8080/api/v1/user/{id}



VKI_FinalProject

Bu proje, kullanıcının vücut kitle endeksini hesaplamak ve sonuçları Docker'da çalışan bir MySQL veritabanına kaydetmek için Spring Boot kullanılarak geliştirilmiştir.

Başlarken

İlk olarak, bu projeyi bilgisayarınızda sorunsuz bir şekilde çalıştırmak için aşağıdaki gereksinimleri sahip olduğunuzdan emin olun:

Gereksinimler

  1. Java 20
  2. Intelij Idea Ultimate
  3. Docker

Bağımlılıklar

  • Spring Data JDBC
  • spring Data JPA
  • Spring Web
  • Spring Boot Devtools
  • Mysql Connector J
  • Lombok
  • Swagger
  • Model Mapper

Kurulum

  1. Docker Desktop Kurulumu

    Docker Desktop Download Bu linkten Docker Desktop'ı indirin.

  2. Proje Kurulumu

    1.  git clone https://github.com/cdemir7/VKI_FinalProject.git

      İndirdiğiniz klasörü Intelij Idea'da açın.

    2. spring.datasource.url=jdbc:mysql://localhost:3306/VERITABANI_ADI
      
      spring.datasource.username=KULLANICI_ADI
      
      spring.datasource.password=PAROLA

      VERITABANI_ADI, KULLANICI_ADI ve PAROLA değerlerini projedeki

    src/main/resources/application.properties

    yolundaki application.properties dosyasında değiştirin.

    1. Veritabanında, application.properties dosyasındaki isimle aynı olacak şekilde veritabanı oluşturun.

    2. Intelij Idea'dan projeyi çalıştırın.

  3. Kullanım

    1. http://localhost:8080/swagger-ui/index.html#/
      web tarayıcısında yukarıdaki URL'i açın. Burada CRUD işlemlerini gerçekleştirebilirisiniz.
  4. Lisans

    Bu proje MIT Lisansı ile lisanslanmıştır. Daha fazla bilgi için LICENSE dosyasına bakın.

About

Kullanıcı verilerine dayalı vücut kitle indeksi hesaplayan ve sağlık durumu analizi yapan Java tabanlı final projesi.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages