Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/kidd254/vet-clinic-database

This project is about creation of the schema and all the necessary queries for a database of a veterinary clinic using postgreSQL
https://github.com/kidd254/vet-clinic-database

postgresql

Last synced: 27 days ago
JSON representation

This project is about creation of the schema and all the necessary queries for a database of a veterinary clinic using postgreSQL

Awesome Lists containing this project

README

        

# Vet Clinic Database Project

# 📗 Table of Contents

- [Vet Clinic Database Project](#vet-clinic-database-project)
- [📗 Table of Contents](#-table-of-contents)
- [📖 Vet Clinic Database ](#-vet-clinic-database-)
- [🛠 Built With ](#-built-with-)
- [Tech Stack ](#tech-stack-)
- [Key Features ](#key-features-)
- [💻 Getting Started ](#-getting-started-)
- [Prerequisites](#prerequisites)
- [Setup](#setup)
- [Usage](#usage)
- [👥 Authors ](#-authors-)
- [🔭 Future Features ](#-future-features-)
- [🤝 Contributing ](#-contributing-)
- [⭐️ Show your support ](#️-show-your-support-)
- [🙏 Acknowledgments ](#-acknowledgments-)
- [📝 License ](#-license-)

# 📖 Vet Clinic Database

**Vet Clinic Database** consists of the creation of the schema and all the necessary queries for a database of a veterinary clinic using postgreSQL

## 🛠 Built With

### Tech Stack

Database

### Key Features

- **Creating a database using the sql 'CREATE DATABASE' statement.**
- **Creating a table using the sql 'CREATE TABLE' statement.**
- **Using the 'INSERT INTO' sql statement to record data in a table.**
- **Using the 'SELECT' sql statement to query data from a table.**

(back to top)

## 💻 Getting Started

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

### Prerequisites

In order to run this project, you must have installed and configured the following tools in your local environment:

- [ ] PostgreSQL

### Setup

**You must ensure that you have the postgreSQL installed and the server is started before continuing.**

First clone this repository to your desired folder:

```sh
git https://github.com/Kidd254/vet-clinic-database.git
```

Now, you need to create a database called **vet_clinic**.

### Usage

In the command line, execute the following commands one by one in the same order as below:

Note: On all commands, you must replace the `username` with your database's username and `path/to/the/project-folder/` with the path to the project folder in your local environment.

```sh
psql -U username -d vet_clinic -f path/to/the/project-folder/schema.sql;
```
Running the above command will create a table named **animals** within it.

```sh
psql -U username -d vet_clinic -f path/to/the/project-folder/data.sql
```
Running the above command will insert four new records into the animals table.

```sh
psql -U username -d vet_clinic -f path/to/the/project-folder/queries.sql
```
When executing the above command, a series of queries will be made to the animals table.

## 👥 Authors

👤 **Lawrence Muema Kioko**
- GitHub: [@githubhandle](https://github.com/Kidd254)
- Twitter: [@twitterhandle](https://twitter.com/lawrenc98789206)
- LinkedIn: [LinkedIn](https://www.linkedin.com/in/lawrence-muema-kioko)

(back to top)

## 🔭 Future Features

> Describe 1 - 3 features you will add to the project.

- [ ] **Update animals table records.**
- [ ] **Add other tables to the database with different queries**
- [ ] **Add "join tables"**
- [ ] **Create database performance audit**
- [ ] **Create database schema diagram**

(back to top)

## 🤝 Contributing

Contributions, issues, suggestions and feature requests are welcome!
Feel free to check the [issues page](../../issues/).

To do Contributions, please fork this repository, create a new branch and then create a Pull Request from your branch. You can find detailed description of this process in: [A Step by Step Guide to Making Your First GitHub Contribution by Brandon Morelli](https://codeburst.io/a-step-by-step-guide-to-making-your-first-github-contribution-5302260a2940)

(back to top)

## ⭐️ Show your support

If you liked this project, give me a "Star" (clicking the star button at the beginning of this page), share this repo with your developer community or make your contributions.

(back to top)

## 🙏 Acknowledgments

I would like to thank my Microverse teammates for their support. They have supported me a lot in carrying out this project, giving me suggestions, good advice and solving my code doubts.

(back to top)

## 📝 License

This project is [MIT](./LICENSE) licensed.

(back to top)