Skip to content

vfshera/better-auth-rr7

Repository files navigation

React Router + Better Auth

This project shows how to use Better Auth in React Router v7 project.

Whats implemented:

Libraries used:

Getting Started

Installation

Install the dependencies:

pnpm install

Development

Start the development server with HMR:

pnpm dev

Your application will be available at http://localhost:5173.

Building for Production

Create a production build:

pnpm build

Deployment

If you're familiar with deploying Node applications, the built-in app server is production-ready.

Make sure to deploy the output of npm run build

├── package.json
├── package-lock.json (or pnpm-lock.yaml, or bun.lockb)
├── build/
│   ├── client/    # Static assets
│   └── server/    # Server-side code

License MIT

About

Better Auth with React Router 7

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published