Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

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.

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.