Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/emanoelcampos/celestial-bodies-database
A relational database project using PostgreSQL, representing various celestial bodies. Detailed instructions are in project-instructions.md.
https://github.com/emanoelcampos/celestial-bodies-database
celestial-bodies command-line freecodecamp postgresql relational-database
Last synced: about 10 hours ago
JSON representation
A relational database project using PostgreSQL, representing various celestial bodies. Detailed instructions are in project-instructions.md.
- Host: GitHub
- URL: https://github.com/emanoelcampos/celestial-bodies-database
- Owner: emanoelcampos
- Created: 2024-03-12T08:18:09.000Z (8 months ago)
- Default Branch: master
- Last Pushed: 2024-03-15T04:29:39.000Z (8 months ago)
- Last Synced: 2024-03-15T05:30:43.646Z (8 months ago)
- Topics: celestial-bodies, command-line, freecodecamp, postgresql, relational-database
- Homepage:
- Size: 483 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Celestial Bodies Database
This project is part of the [Relational Database](https://www.freecodecamp.org/learn/relational-database/) training from **freeCodeCamp**. It is a celestial bodies database built using `PostgreSQL` and manipulated exclusively through the **command line**.
This project was created following a set of instructions. If you wish to see the detailed instructions, they are available in the [Project Instructions](project-instructions.md) file.
## TL;DR Instructions
```
1. Create database and connect to it.
2. Create tables as per required conditions.
3. Fill the tables as per required data conditions.
4. Assign Primary Key and Foreign Key as per instructions.
5. Compact all queries into a `universe.sql` file.
```## Database Diagram
Here is a visual diagram of the database structure:
![Database Diagram](images/universe-database-diagram.svg)
## How to Use
To use this database, you will need PostgreSQL installed on your machine and familiarity with the command line. Once PostgreSQL is set up, you can execute SQL queries to fetch, insert, update, or delete data.
## Project Completion
This project has been successfully completed and passed all tests. Here is the proof of completion:
![Project Completion](images/complete.png)
## Contributing
Contributions to this project are welcome! If you find an error or have a suggestion to improve the database, feel free to open an issue or submit a pull request.