Skip to content

sheriffyusuf/betterauth-convex-nextjs

Repository files navigation

Better-Auth + Convex Integration POC

πŸš€ Overview

This project is a proof of concept (POC) to demonstrate that Better-Auth can be successfully integrated with Convex. It aims to validate the feasibility and provide a foundational example for future implementations.


πŸ› οΈ Tools & Technologies Used

  • Better-Auth: A powerful authentication solution.
  • Convex: A state management and backend framework.
  • Next.js: A React framework for building server-side rendered (SSR) applications.
  • Hono: A framework for building web servers.

πŸ“‹ Getting Started

  1. Clone the repository:

    git clone https://github.com/sheriffyusuf/betterauth-convex-nextjs.git
    cd betterauth-convex-nextjs  
  2. Install dependencies:

    pnpm install  
  3. Set up environment variables:

    • Add your Better-Auth and Convex credentials to .env.
  4. Run the project:

    pnpm dev  

⚠️ Disclaimer

This project is a proof of concept and may not include comprehensive error handling, scalability considerations, or production-grade features.


✨ Future Improvements

  • Add robust error handling.
  • Expand support for additional authentication flows.
  • Optimize for scalability and performance.

🀝 Contributions

Contributions are welcome!
If you'd like to improve this project or add new features:

  1. Fork the repository.

  2. Create a new branch for your changes:

    git checkout -b feature/your-feature-name  
  3. Commit your changes:

    git commit -m "Add your feature or fix description"  
  4. Push to your branch:

    git push origin feature/your-feature-name  
  5. Open a Pull Request.

Feel free to discuss your ideas by opening an issue or reaching out!


πŸ“„ License

This project is licensed under the MIT License.

Releases

No releases published

Packages

No packages published