Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/kidd254/vet-clinic-database
- Owner: Kidd254
- License: mit
- Created: 2023-08-14T18:54:31.000Z (over 1 year ago)
- Default Branch: dev
- Last Pushed: 2024-02-01T17:47:35.000Z (10 months ago)
- Last Synced: 2024-02-01T19:20:38.477Z (10 months ago)
- Topics: postgresql
- Language: PLpgSQL
- Homepage:
- Size: 20.5 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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** consists of the creation of the schema and all the necessary queries for a database of a veterinary clinic using postgreSQL
Database
- **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.**
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.
👤 **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)
> 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**
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)
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.
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.
This project is [MIT](./LICENSE) licensed.