An open API service indexing awesome lists of open source software.

https://github.com/devgauravjatt/better-auth-astro5

Better Auth Astro is a web application built using Astro, Drizzle ORM, and Better Auth for implementing authentication and session management. The application demonstrates user authentication, including sign-up, sign-in, and session handling.
https://github.com/devgauravjatt/better-auth-astro5

astrobuild astrojs authentication betterauth drizzle-orm javascript sqlite3 typescript

Last synced: 2 months ago
JSON representation

Better Auth Astro is a web application built using Astro, Drizzle ORM, and Better Auth for implementing authentication and session management. The application demonstrates user authentication, including sign-up, sign-in, and session handling.

Awesome Lists containing this project

README

        

## Better Auth Astro 📚🌟🛠️

Better Auth Astro is a web application built using Astro, Drizzle ORM, and Better Auth for implementing authentication and session management. The application demonstrates user authentication, including sign-up, sign-in, and session handling. 🛡️🌍🔐

## Features 🌟🔒🛠️

- **User Sign-Up and Sign-In**
- **Session Management**
- **Secure Password Handling**
- **Email Verification Status Display**
- **User Profile Display**

## Technologies Used 🛠️📚🔐

- **Astro**: A modern web framework for building fast, content-focused websites.
- **Drizzle ORM**: A lightweight ORM for interacting with SQLite databases.
- **Better Auth**: A library for easy authentication setup and management.

## Project Structure 📝🗂🛠️

- **src/components**: Contains the UI components used in the project, including the Welcome component for user greetings.
- **src/db**: Database configuration and schema definitions using Drizzle ORM.
- **src/layouts**: Layout files used for consistent styling across pages.
- **src/pages**: Application pages like the index, signin, and signup pages.
- **src/lib**: Authentication logic and client setup.
- **drizzle**: Database migrations and related files.

## Getting Started 🚀🔧🏃

1. **Clone the repository**:

```bash
git clone https://github.com/devgauravjatt/better-auth-astro5
```

2. **Navigate to the project directory**:

```bash
cd better-auth-astro
```

3. **Install dependencies**:

```bash
pnpm install
```

4. **Start the development server**:
```bash
pnpm dev
```

## Contributing 🙌📚🔧

Contributions are welcome! Feel free to open issues or submit pull requests to help improve this project. 👨‍💻👷️‍♂️🌐

## License 🔒📚🌐

This project is licensed under the MIT License. See the `LICENSE` file for details. 🛡️🔗🔒

## Acknowledgements 👨‍💻🌟🌍

- Thanks to the Astro, Drizzle ORM, and Better Auth communities for providing excellent tools and support. 📚👨‍🛠️🌐