Git Product home page Git Product logo

vettaskdemo's Introduction

VetTaskdemo

small Task

Consider that we’re implementing a Vet Clinic System, defined below are system entities:

  • Pet and it has fields (name, gender, date of birth, animal kind and weight).
  • Owner (pet owner) and it has fields (name, email, phone, gender and address).
  • Clinic and it has fields (name, address, phone, email and social networks URLs).
  • Doctor and it has fields (name, phone and bio).
  • Visit and it has fields (pet, doctor, clinic and date)

Each owner may have multiple pets and each doctor works for only one clinic. An owner could post a clinic visit to a clinic and he could choose a specific doctor. Using MVC design pattern, implement the above system using Spring Framework (MVC or Boot) and Hibernate (using annotations) and provide REST APIs for the below:

  1. Creating entities.
  2. Getting above entities by id.
  3. List all owner’s pets by owner id.
  4. List all clinic’s doctors by clinic id.
  5. Search for clinics by phone number or address.
  6. Assign/de-assign doctor to clinic.

Also perform all necessary validations for above all of entities fields taking into consideration DB unique constraints. You may use any IDE (although IntelliJ IDEA is preferred).

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.