Database: Postgres

Postgres logo

The data used in the app will will need to be stored somewhere. The relational database postgres is my go to choice. We'll need it installed locally for development, which we can do using brew,

Run these commands in any location

brew install postgres
brew services start postgresql

You can then access the local database using the psql client,

Run this command in any location

psql -U postgres

note that postgres is the default user and may not exist, if it isn't create it using,

Run this command in any location

createuser -s postgres

We'll use the postgres superuser to create a specific user for our app later.