Skip to content

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.

Notifications You must be signed in to change notification settings

devgauravjatt/better-auth-astro5

Repository files navigation

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:

    git clone /~https://github.com/devgauravjatt/better-auth-astro5
  2. Navigate to the project directory:

    cd better-auth-astro
  3. Install dependencies:

    pnpm install
  4. Start the development server:

    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. 📚👨‍🛠️🌐

About

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.

Topics

Resources

Stars

Watchers

Forks