Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/geekelo/vet_clinic_database
Using a relational database to create the initial data structure for a vet clinic
https://github.com/geekelo/vet_clinic_database
database postgresql postgress-database starter-template
Last synced: about 1 month ago
JSON representation
Using a relational database to create the initial data structure for a vet clinic
- Host: GitHub
- URL: https://github.com/geekelo/vet_clinic_database
- Owner: geekelo
- License: mit
- Created: 2023-08-31T12:52:53.000Z (about 1 year ago)
- Default Branch: dev
- Last Pushed: 2023-09-07T07:41:27.000Z (about 1 year ago)
- Last Synced: 2024-10-06T03:47:59.255Z (about 1 month ago)
- Topics: database, postgresql, postgress-database, starter-template
- Language: PLpgSQL
- Homepage:
- Size: 54.7 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 📗 Table of Contents
- [� 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)
- [Install](#install)
- [Usage](#usage)
- [Run tests](#run-tests)
- [Deployment](#deployment)
- [👥 Authors ](#-authors-)
- [🔭 Future Features ](#-future-features-)
- [🤝 Contributing ](#-contributing-)
- [⭐️ Show your support ](#️-show-your-support-)
- [🙏 Acknowledgments ](#-acknowledgments-)
- [❓ FAQ ](#-faq-)
- [📝 License ](#-license-)> In this project, I used a relational database to create the initial data structure for a vet clinic. I created a table to store animals' information, inserted some data into it, and queried it.
SQL - Structured Query Language
- **a table named animals with the following columns:**
- [x] id: integer
- [x] name: string
- [x] date_of_birth: date
- [x] escape_attempts: integer
- [x] neutered: boolean
- [x] weight_kg: decimalTo get a local copy up and running, follow these steps.
### Prerequisites
In order to run this project you need:
- To download and install [PostgreSQL](https://www.postgresql.org/)
- Go through [documentation](https://www.postgresql.org/docs/11/datatype.html)### Setup
Clone this repository to your desired folder:
```
cd my-project
git clone https://github.com/geekelo/vet_clinic_database.git
```### Install
Install this project with:
```
cd vet_clinic_database
code .```
### Usage
To run the project, execute the following command:
- Launch Terminal
- Connect to database```
\c vet_clinic database
```### Run tests
To run tests, run the following command:
- Run commands to create and query database### Deployment
At the moment this project is not [deployed](https://github.com)
👤 **Eloghene Otiede**
- GitHub: [@githubhandle](https://github.com/geekelo)
- Twitter: [@twitterhandle](https://twitter.com/geekelo_xyz)
- LinkedIn: [LinkedIn](https://linkedin.com/in/eloghene-otiede)👤 **Mahdi Noori**
- GitHub: [@Mahdi Noori](https://github.com/mahdinoori2000)
- LinkedIn: [@Mahdi Noori](https://www.linkedin.com/in/mahdi-noori-hc201/)- [ ] **Add SQL Commands for updating database**
Contributions, issues, and feature requests are welcome!
Feel free to check the [issues page](../../issues/).
If you like this project kindly give it a star. Thanks in advance.
I would like to thank Microverse for inspiring this project.
- **Can I use a GUI when working with Postgresql?**
- Yes you can. Postgresql comes with GUI and CLI interfaces
- **Do I have to use constraints when creating my table?**
- It is necessary to do soo in other to avoid errors with data
This project is [MIT](./LICENSE) licensed.