Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/lovelesscodes/elysia-better-auth
🦊 Elysia x Better Auth: Seamlessly integrate powerful authentication with Elysia, Better-Auth and Drizzle ORM. Secure, scalable, and built for modern web applications. 🛡️✨
https://github.com/lovelesscodes/elysia-better-auth
authentication back-end better-auth elysiajs
Last synced: 23 days ago
JSON representation
🦊 Elysia x Better Auth: Seamlessly integrate powerful authentication with Elysia, Better-Auth and Drizzle ORM. Secure, scalable, and built for modern web applications. 🛡️✨
- Host: GitHub
- URL: https://github.com/lovelesscodes/elysia-better-auth
- Owner: LovelessCodes
- Created: 2024-11-08T10:04:22.000Z (about 1 month ago)
- Default Branch: master
- Last Pushed: 2024-11-08T10:42:34.000Z (about 1 month ago)
- Last Synced: 2024-11-08T11:23:45.619Z (about 1 month ago)
- Topics: authentication, back-end, better-auth, elysiajs
- Language: TypeScript
- Homepage: https://elysia.betterjs.dev
- Size: 48.8 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Elysia x Better-Auth
## Overview
This project is a template for building modern web applications using the Elysia framework with Bun runtime, integrated with Drizzle ORM for database management and Better-Auth for enhanced authentication.## Using
![Elysia Version](https://img.shields.io/badge/dynamic/json?url=https%3A%2F%2Fgithub.com%2FLovelessCodes%2Felysia-better-auth%2Fraw%2Fmaster%2Fpackage.json&query=%24.dependencies.elysia&style=for-the-badge&logo=data:image/svg+xml;base64,PHN2ZyB3aWR0aD0nNTEyJyBoZWlnaHQ9JzUxMicgdmlld0JveD0nMCAwIDUxMiA1MTInIGZpbGw9J25vbmUnIHhtbG5zPSdodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2Zyc+PHNjcmlwdCB4bWxucz0nJy8+PHBhdGggZmlsbC1ydWxlPSdldmVub2RkJyBjbGlwLXJ1bGU9J2V2ZW5vZGQnIGQ9J000MjQuNDA0IDQ3MC44MTZDNDc4LjA4OSA0MjMuODg5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MyMTQuNTQyIDI3My45NyAyMTUuMTAzIDI3Ny41MTMgMjEyLjc0OSAyNzguODU4WicgZmlsbD0nIzVFNUU1RScvPjwvc3ZnPg==&label=elysia&color=EC4899)
![Better Auth Version](https://img.shields.io/badge/dynamic/json?url=https%3A%2F%2Fgithub.com%2FLovelessCodes%2Felysia-better-auth%2Fraw%2Fmaster%2Fpackage.json&query=%24.dependencies.better-auth&style=for-the-badge&logo=data:image/svg+xml;base64,PHN2ZyB3aWR0aD0nNjAnIGhlaWdodD0nNDUnIHZpZXdCb3g9JzAgMCA2MCA0NScgY2xhc3M9J3ctNSBoLTUnIHhtbG5zPSdodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2Zyc+PHBhdGggZmlsbC1ydWxlPSdldmVub2RkJyBjbGlwLXJ1bGU9J2V2ZW5vZGQnIGQ9J00wIDBIMTVWMTVIMzBWMzBIMTVWNDVIMFYzMFYxNVYwWk00NSAzMFYxNUgzMFYwSDQ1SDYwVjE1VjMwVjQ1SDQ1SDMwVjMwSDQ1WicgZmlsbD0nd2hpdGUnPjwvcGF0aD48L3N2Zz4=&label=better-auth&color=2B2D3E)
![Drizzle Version](https://img.shields.io/badge/dynamic/json?url=https%3A%2F%2Fgithub.com%2FLovelessCodes%2Felysia-better-auth%2Fraw%2Fmaster%2Fpackage.json&query=%24.dependencies.drizzle-orm&style=for-the-badge&logo=drizzle&label=drizzle&color=C5F74F)## Prerequisites
Before you begin, ensure you have the following installed:
- [Bun](https://bun.sh/) - A fast JavaScript runtime
- A compatible database supported by Drizzle## Getting Started
To get started, clone this repository:
```bash
git clone https://github.com/LovelessCodes/elysia-better-auth.git
```After setting up, navigate into the project directory:
```bash
cd elysia-better-auth
```## Configuration
1. **Database Setup**: Configure your database connection in the `.env` file at the project root. Drizzle ORM supports multiple databases, so choose the configuration that fits your setup.
2. **Better-Auth Setup**: Configure your Better-Auth credentials in the `.env` file at the project root.## Development
To start the development server, run:
```bash
bun run dev
```Once the server is running, open your browser and visit [http://localhost:3131/](http://localhost:3131/) to view your application.
## Build
To build the application for production, use:
```bash
bun run build
```This will generate an executable `server` file.
### Running the Build
```bash
./server
```## Deployment
Ensure your environment variables are set for production and deploy using your preferred service.## Additional Resources
- [Drizzle ORM Documentation](https://orm.drizzle.team/)
- [Elysia Framework Guide](https://elysiajs.com/)
- [Better-Auth Documentation](https://better-auth.com/docs)Feel free to explore the codebase and customize it to suit your needs!