Skip to content

Commit

Permalink
docs: database schema
Browse files Browse the repository at this point in the history
  • Loading branch information
PedroFnseca committed Sep 28, 2024
1 parent 70993d3 commit 76680ed
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,16 @@ My primary goal was to gain a deeper understanding of how APIs function under th
## Postgres Database
In this project, I'm using a Postgres database to store user information. The database is hosted on cloud in the [supabase](https://supabase.com/), and the server communicates with it using the [libpq](https://www.postgresql.org/docs/9.1/libpq.html) library.

## Database Schema

The database schema consists of a single table named `users`. The table has the following columns:

| Column Name | Data Type | Description |
| ----------- | --------- | ----------- |
| id | SERIAL | Unique identifier for each user. |
| name | TEXT | User's name. |
| email | TEXT | User's email address. |

## How to Run the Server

### Prerequisites:
Expand Down

0 comments on commit 76680ed

Please sign in to comment.