- project (Go, PostgreSQL, System Design, url-shortener): replaced in-memory store with Postgres using pgxpool
URL Shortener: Postgres Data Store
Replaced the in-memory map from yesterday with a Postgres-backed store using pgxpool.
The PostgreSQL database is created using the official docker image, and with docker compose I have set up a seed script which declares the basic table needed to store the URL shortener's data.