Notepad is an app I made to try out using BetterAuth and Convex in a SwiftUI app. ConvexSwift does not yet natively support BetterAuth, so this repo has some modifications to the auth server to make it work.
- Companion client repo for Notepad - https://github.com/bbauman1/notepad
- A full writeup of how this works is available here - https://bbauman.com/posts/convex-better-auth-swiftui
- Clone this repository
- Copy
.env.exampleto.envand fill in the values - Run database migrations:
bunx @better-auth/cli migrate - Start the server:
bun run dev
I deploy on Railway and if you upload there it should deploy easily.
See .env.example for required variables.
MIT