Giter VIP home page Giter VIP logo

vet-app's Introduction

Veteriner Yönetim Sistemi

Veteriner Yönetim Sistemi, veteriner kliniklerinin günlük işlerini düzenlemek ve yönetmek amacıyla oluşturulmuş bir REST API'dir. Bu API ile veteriner çalışanının veteriner doktorları, müşterileri, hayvanları ve aşılarını, randevuları yönetmesi sağlanır.

Endpoint HTTP Metodu Açıklama
customers
/api/v1/customers/{id} GET Belirtilen ID'ye sahip hayvan sahibini getirir
/api/v1/customers/{id} PUT Belirtilen ID'ye sahip hayvan sahibini günceller
/api/v1/customers/{id} DELETE Belirtilen ID'ye sahip hayvan sahibini siler
/api/v1/customers GET Tüm hayvan sahiplerini getirir
/api/v1/customers POST Hayvan sahibi ekler
/api/v1/customers/searchByName GET İsme gore hayvan sahiplerini getirir
animals
/api/v1/animals/{id} GET Belirtilen ID'ye sahip hayvanı getirir
/api/v1/animals/{id} PUT Belirtilen ID'ye sahip hayvanı günceller
/api/v1/animals/{id} DELETE Belirtilen ID'ye sahip hayvanı siler
/api/v1/animals GET Tüm hayvanları getirir
/api/v1/animals POST Hayvan ekler
/api/v1/animals/searchByName GET İsme göre hayvanları filtreler
/api/v1/animals/searchByCustomer GET Hayvan sahiplerine göre hayvanları filtreler
vaccines
/api/v1/vaccines/{id} GET Belirtilen ID'ye sahip aşıyı getirir
/api/v1/vaccines/{id} PUT Belirtilen ID'ye sahip aşıyı günceller
/api/v1/vaccines/{id} DELETE Belirtilen ID'ye sahip aşıyı siler
/api/v1/vaccines GET Tum aşıları getirir
/api/v1/vaccines POST Aşı ekler
/api/v1/vaccines/searchByVaccinationRange GET Girilen tarih araligina gore aşı kayıtlarını getirir
/api/v1/vaccines/searchByAnimal GET Belirli bir hayvana ait tüm aşı kayıtlarını getirir
doctors
/api/v1/doctors/{id} GET Belirtilen ID'ye sahip doktoru getirir
/api/v1/doctors/{id} PUT Belirtilen ID'ye sahip doktoru günceller
/api/v1/doctors/{id} DELETE Belirtilen ID'ye sahip doktoru siler
/api/v1/doctors GET Tum doktorlari getirir
/api/v1/doctors POST Doktor ekler
available_dates
/api/v1/available_dates/{id} GET Belirtilen ID'ye sahip müsait günü getirir
/api/v1/available_dates/{id} PUT Belirtilen ID'ye sahip müsait günü günceller
/api/v1/available_dates/{id} DELETE Belirtilen ID'ye sahip müsait günü siler
/api/v1/available_dates GET Tüm müsait günü getirir
/api/v1/available_dates POST Müsait gün ekler
appointments
/api/v1/appointments/{id} GET Belirtilen ID'ye sahip randevuyu getirir
/api/v1/appointments/{id} PUT Belirtilen ID'ye sahip randevuyu günceller
/api/v1/appointments/{id} DELETE Belirtilen ID'ye sahip randevuyu siler
/api/v1/appointments GET Tüm randevulari getirir
/api/v1/appointments POST Randevu ekler
/api/v1/appointments/searchByDoctorAndDateRange GET Kullanıcı tarafından girilen tarih aralığına ve doktora göre randevuları filtreler
/api/v1/appointments/searchByAnimalAndDateRange GET Kullanıcı tarafından girilen tarih aralığına ve hayvana göre randevuları filtreler

Kurulum

  1. Projeyi klonlayın.
  2. src/main/resources/application.properties dosyasında veri tabanı konfigürasyonunu yapın.
  3. Projeyi ayağa kaldırmak için idenizden start edin.
  4. Swagger üzerinden api kullanılabilir. Tarayıcınızdan http://localhost:8080/swagger-ui/index.html#/ url'ine gidin.
  5. End pointlere istek atabilirsiniz.

Docker

  1. Projeyi klonlayın.
  2. Kök dizinde
    • docker-compose upkomutunu çalıştırın

Ortam Değişkenleri

Bu projeyi çalıştırmak için aşağıdaki ortam değişkenlerini application.properties dosyasından değiştirmelisiniz.

VETAPP_DB_PASS VETAPP_DB_USER VETAPP_DB_URL VETAPP_DB_NAME

Lisans

MIT

vet-app's People

Contributors

yusufcihan1 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.