stackabletech / stackabletech/cockpit

Allow using postres as storage backend for `better-auth`

Open
#41 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
1
Forks
0
Avg merge
22h 6m
Merged PRs (30d)
12

Description

better-auth is currently configured to always use a local sqlite database.

We should make this configurable and support using a postgres database in addition to sqlite.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating where better-auth is configured with the local SQLite database and how storage options are initialized. Make the backend configurable for SQLite or PostgreSQL, then verify that both database choices can be used successfully.

Written by the indexing model from the issue text.

Assessment

Tech stack
postgres, typescript
Domain
backend, databases
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.