refactor: move into monorepo

This commit is contained in:
Max Koon
2025-11-08 13:37:55 -05:00
parent 63670ff3b0
commit 058f2bb94f
50 changed files with 1550 additions and 1523 deletions

18
apps/expo/app/auth.tsx Normal file
View File

@@ -0,0 +1,18 @@
import { Button, View } from "react-native";
import { authClient } from "@/lib/auth-client";
import { BASE_URL } from "@money/shared";
export default function Auth() {
const onLogin = () => {
authClient.signIn.oauth2({
providerId: "koon-family",
callbackURL: process.env.NODE_ENV == 'production' ? 'https://money.koon.us' : `${BASE_URL}:8081`,
});
};
return (
<View>
<Button onPress={onLogin} title="Login with Koon Family" />
</View>
)
}