Git Product home page Git Product logo

mahammad-mostafa / vet-clinic Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 73 KB

This is the first project in the fourth module of the Microverse program. It is a database for a vet clinic using PostgreSQL.

License: MIT License

PLpgSQL 100.00%
database database-schema joins microverse microverse-projects microverse-students postgresql queries rdbms relational-database sql structured-query-language indexing

vet-clinic's Introduction

๐Ÿท๏ธ Vet Clinic

This is the first project of the fourth module in the Microverse program.
Check the below contents for further details about this project.

๐Ÿ“— Contents

๐Ÿ“– Description

This repository includes files with plain SQL that can be used to recreate a database:

  • Use schema.sql to create all tables
  • Use data.sql to populate tables with sample data
  • Check queries.sql for examples of queries that can be run on a newly created database

Important note:
This file might include queries that make changes in the database (e.g., remove records). Use them responsibly!

๐Ÿ“Œ Tech Stack:

  • Database built with PostgreSQL
  • Queries uses SQL

๐Ÿ“Œ Key Features:

  • Table for animals information which include (name / birth date / escape attempts / weight / neutering)
  • Each animal is linked with the owners & species tables through foreign keys (owner_id / species_id)
  • Table for animal owners information which include (name / age)
  • Table for animal species information which include (name)
  • Table for vets information which include (name / age / graduation)
  • Table for specializations information which is linked with the vets & species tables through foreign keys (vet_id / species_id)
  • Table for visits information which include (date)
  • Each visit is linked with the vets & species tables through foreign keys (animal_id / vet_id)

back to top

๐Ÿ› ๏ธ Instructions

You can easily download or fork this repository and work on it immadiately!

๐Ÿ“Œ Prerequisites:

  • PostgreSQL or any other SQL database

๐Ÿ“Œ Installation:

  • Create a new database called vet_clinic
  • Run queries in schema.sql for creating all tables
  • Use data.sql to populate tables with sample data

๐Ÿ“Œ Development:

  • Check queries.sql for examples of queries that can be run on a newly created database

back to top

๐Ÿ‘ฅ Authors

๐Ÿ“Œ Mahammad:

๐Ÿ“Œ Carlos:

๐Ÿ“Œ Austin:

back to top

๐Ÿ”ญ Future

Some additional features I may implement in the project:

  • Using Binary data types in tables
  • Implement stored procedures like SQL Trigger

back to top

๐Ÿค๐Ÿป Contributions

Wish to contribute to this project?
Contributions, issues, and feature requests are more than welcome!
Feel free to check the issues page too.

back to top

โญ๏ธ Support

Like this project? Show your support by starring!

back to top

๐Ÿ™๐Ÿป Acknowledgements

I thank everyone at Microverse for guiding me through this project.

back to top

๐Ÿ“ License

This project is MIT licensed.

back to top

vet-clinic's People

Contributors

mahammad-mostafa 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.