混音示例

这是一个如何在 Remix 中使用 Better Auth 的示例。

【This is an example of how to use Better Auth with Remix.】

实现以下功能: 电子邮件和密码。使用谷歌登录的社交登录。密钥。电子邮件验证。密码重置。双因素身份验证。资料更新。会话管理

如何运行

【How to run】

  1. 克隆代码沙箱(或仓库)并在你的代码编辑器中打开它

  2. 通过复制 .env.example 文件并添加变量来提供 .env 文件

  3. 运行以下命令

    pnpm install
    pnpm run dev
  4. Open the browser and navigate to http://localhost:3000

On this page