/vet-clinic

In this projects, a relational database is used to create the data structure for a vet clinic. it is started with one table, and step by step, the complete database with data about: animals, animals' owners, clinic employees and visits created.

Primary LanguagePLpgSQLMIT LicenseMIT

Getting Started

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!

📗 Table of Contents

📖 [Vet Clinic]

[vet-clinic] In this project, a relational database is used to create the data structure for a vet clinic. it is started with one table and step by step, the complete database with data about animals, animals' owners, clinic employees, and visits created.

🛠 Built With

Tech Stack

Client
Server
Database

Key Features

  • [create animals table]
  • [query and update animals table]
  • [query multiple tables]
  • [add 'join table' for visits]

(back to top)

🚀 Schema Diagram

vet_clinic_schema_diagram

(back to top)

💻 Getting Started

To get a local copy up and running, follow these steps.

Prerequisites

In order to run this project you need:

Example command:

 Install PostgreSQL

Setup

Clone this repository to your desired folder:

  cd my-folder
  git clone https://github.com/ab-noori/vet-clinic.git

Install

Install this project with:

  cd my-folder
  git clone https://github.com/ab-noori/vet-clinic.git

Usage

To run the project, execute the following command:

  cd my-folder
  git clone https://github.com/ab-noori/vet-clinic.git

Run tests

To run tests, run the following command:

  npm test

Deployment

You can deploy this project using:

  npm run deploy

(back to top)

👥 Authors

👤 Abdul Ali Noori

(back to top)

🔭 Future Features

  • [Giving beautiful and responsive UI]
  • [Creating more professional sidebar panel]
  • [Displaying data on the UI]

(back to top)

🤝 Contributing

Contributions, issues, and feature requests are welcome!

Feel free to check the issues page.

(back to top)

⭐️ Show your support

If you like this project, give it a star.

(back to top)

🙏 Acknowledgments

First, I would like to thank Microverse and my coding partners.

(back to top)

❓ FAQ (OPTIONAL)

  • How to optimize database performance?

    • Use indexes on frequently queried columns to improve search speed.
    • Normalize the database structure to minimize data redundancy and improve data integrity.
  • How to ensure database security?

    • Implement proper authentication and authorization mechanisms to control access to the database.
    • Regularly update and patch the database software to address security vulnerabilities.

(back to top)

📝 License

This project is MIT licensed.

(back to top)