# generic_typescript_server

Express + TypeScript REST API with PostgreSQL.

## Setup

```bash
cp .env.example .env
npm install
createdb generic_typescript_server   # one-time, uses your local Postgres user
npm run db:migrate
npm run dev
```

Requires a local Postgres install (e.g. `brew install postgresql@16 && brew services start postgresql@16`).

Update `DATABASE_URL` in `.env` if your user, host, or database name differs.
