Skip to content

nidaonder/VetManagementSystem

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

77 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Veterinary Management System

This project is a system that simulates the management of daily operations of veterinary clinics. It includes basic features such as recording animal and owner information, vaccine management, appointment creation and doctor management, and management of doctors available days.The UML diagram of the project has been added as a png file.

It is a RestAPI project written in Java and using the Spring Boot framework.

The endpoints used and their detailed explanations are added as a table.

Technologies

  • Programming Language, Java 17
  • Framework, Spring Boot
  • Database, PostgreSQL

Endpoints

Animals

Endpoint HTTP Method Explanation
/api/v1/animals GET List of all animals
/api/v1/animals/{id} GET Animal by id number
/api/v1/animals/customer/{id} GET All animals belonging to a customer are listed.
/api/v1/animals/name/{name} GET Animals are listed by name.
/api/v1/animals POST Add new animal.
/api/v1/animals/{id} PUT The animal of a specific id is updated.
/api/v1/animals/{id} DELETE The animal of a specific id is deleted.

Appointments

Endpoint HTTP Method Explanation
/api/v1/appointments GET List of all appointments.
/api/v1/appointments/{id} GET Appointment by id number.
/api/v1/appointments/animal/date-range GET The appointments for a specified animal within a designated date range are listed.
/api/v1/appointments/doctor/date-range GET The appointments for a specified doctor within a designated date range are listed.
/api/v1/appointments POST Add new appointment.
/api/v1/appointments/{id} PUT The appointment of a specific id is updated.
/api/v1/appointments/{id} DELETE The appointment of a specific id is deleted.

AvailableDates

Endpoint HTTP Method Explanation
/api/v1/available-date GET List of all available dates.
/api/v1/available-date/{id} GET Available date by id number.
/api/v1/available-date/date-range GET The available dates of a specific doctor on a requested date are listed.
/api/v1/available-date POST Add new AvailableDate.
/api/v1/available-date/{id} PUT The available date of a specific id is updated.
/api/v1/available-date/{id} DELETE The available date of a specific id is deleted.

Customers

Endpoint HTTP Method Explanation
/api/v1/customers GET List of all customers.
/api/v1/customers/{id} GET Customer by id number.
/api/v1/customers/name/{name} GET List of customers with a specific name.
/api/v1/customers POST Add new Customer.
/api/v1/customers/{id} PUT The customer of a specific id is updated.
/api/v1/customers/{id} DELETE The customer of a specific id is deleted.

Doctors

Endpoint HTTP Method Explanation
/api/v1/doctors GET List of all doctors.
/api/v1/doctors/{id} GET Doctor by id number.
/api/v1/doctors POST Add new Doctor.
/api/v1/doctors/{id} PUT The doctor of a specific id is updated.
/api/v1/doctors/{id} DELETE The doctor of a specific id is deleted.

Vaccines

Endpoint HTTP Method Explanation
/api/v1/vaccines GET List of all vaccines.
/api/v1/vaccines/{id} GET Vaccine by id number.
/api/v1/vaccines/animal/{id} GET The list of vaccines for a specific animal.
/api/v1/vaccines/date-range GET The list of vaccines expiring within a specific time range.
/api/v1/vaccines POST Add new Vaccine.
/api/v1/vaccines PUT The vaccine of a specific id is updated.
/api/v1/vaccines DELETE The vaccine of a specific id is deleted.

Reports

Endpoint HTTP Method Explanation
/api/v1/reports GET Returns a list of all reports.
/api/v1/reports/{id} GET Returns the report with the specified ID.
/api/v1/reports POST Adds a new report.
/api/v1/reports/{id} PUT Updates the report with the specified ID.
/api/v1/reports/{id} DELETE Deletes the report with the specified ID.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors