[PR #495] [MERGED] feat: Implement Full-Stack SST Demo with OAuth Authentication with Mongodb example project #3325

Closed
opened 2026-03-13 10:49:16 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/better-auth/better-auth/pull/495
Author: @yashwanth2804
Created: 11/11/2024
Status: Merged
Merged: 11/12/2024
Merged by: @Bekacru

Base: mainHead: main


📝 Commits (1)

  • 0370792 added sst hono react aws example demostrate the better auth usage with mongodb as database

📊 Changes

42 files changed (+5015 additions, -0 deletions)

View changed files

examples/react-hono-sst-aws-example/.gitignore (+16 -0)
examples/react-hono-sst-aws-example/Readme.md (+223 -0)
examples/react-hono-sst-aws-example/infra/hono.ts (+24 -0)
examples/react-hono-sst-aws-example/infra/secrets.ts (+15 -0)
examples/react-hono-sst-aws-example/infra/web.ts (+15 -0)
examples/react-hono-sst-aws-example/package.json (+29 -0)
examples/react-hono-sst-aws-example/packages/client/.gitignore (+24 -0)
examples/react-hono-sst-aws-example/packages/client/README.md (+50 -0)
examples/react-hono-sst-aws-example/packages/client/components.json (+21 -0)
examples/react-hono-sst-aws-example/packages/client/eslint.config.js (+28 -0)
examples/react-hono-sst-aws-example/packages/client/index.html (+13 -0)
examples/react-hono-sst-aws-example/packages/client/package.json (+41 -0)
examples/react-hono-sst-aws-example/packages/client/pnpm-lock.yaml (+2798 -0)
examples/react-hono-sst-aws-example/packages/client/postcss.config.js (+6 -0)
examples/react-hono-sst-aws-example/packages/client/public/vite.svg (+1 -0)
examples/react-hono-sst-aws-example/packages/client/src/App.css (+0 -0)
examples/react-hono-sst-aws-example/packages/client/src/App.tsx (+67 -0)
examples/react-hono-sst-aws-example/packages/client/src/assets/react.svg (+1 -0)
examples/react-hono-sst-aws-example/packages/client/src/components/Spinner.tsx (+9 -0)
examples/react-hono-sst-aws-example/packages/client/src/components/ui/button.tsx (+56 -0)

...and 22 more files

📄 Description

This PR introduces a full-stack demo application showcasing the integration of SST (AWS), React, Hono, Better-Auth, and MongoDB. The implementation provides a secure authentication flow using Google OAuth.

Key Features

  • 🔐 Google OAuth authentication using Better-Auth
  • 🏗️ SST infrastructure deployment to AWS
  • React + Vite frontend with TypeScript
  • 🚀 Hono backend with TypeScript
  • 🎨 Tailwind CSS + shadcn/ui for styling
  • 📦 MongoDB integration for session management

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/better-auth/better-auth/pull/495 **Author:** [@yashwanth2804](https://github.com/yashwanth2804) **Created:** 11/11/2024 **Status:** ✅ Merged **Merged:** 11/12/2024 **Merged by:** [@Bekacru](https://github.com/Bekacru) **Base:** `main` ← **Head:** `main` --- ### 📝 Commits (1) - [`0370792`](https://github.com/better-auth/better-auth/commit/03707922434df36ce6e1430223ac810b9934a551) added sst hono react aws example demostrate the better auth usage with mongodb as database ### 📊 Changes **42 files changed** (+5015 additions, -0 deletions) <details> <summary>View changed files</summary> ➕ `examples/react-hono-sst-aws-example/.gitignore` (+16 -0) ➕ `examples/react-hono-sst-aws-example/Readme.md` (+223 -0) ➕ `examples/react-hono-sst-aws-example/infra/hono.ts` (+24 -0) ➕ `examples/react-hono-sst-aws-example/infra/secrets.ts` (+15 -0) ➕ `examples/react-hono-sst-aws-example/infra/web.ts` (+15 -0) ➕ `examples/react-hono-sst-aws-example/package.json` (+29 -0) ➕ `examples/react-hono-sst-aws-example/packages/client/.gitignore` (+24 -0) ➕ `examples/react-hono-sst-aws-example/packages/client/README.md` (+50 -0) ➕ `examples/react-hono-sst-aws-example/packages/client/components.json` (+21 -0) ➕ `examples/react-hono-sst-aws-example/packages/client/eslint.config.js` (+28 -0) ➕ `examples/react-hono-sst-aws-example/packages/client/index.html` (+13 -0) ➕ `examples/react-hono-sst-aws-example/packages/client/package.json` (+41 -0) ➕ `examples/react-hono-sst-aws-example/packages/client/pnpm-lock.yaml` (+2798 -0) ➕ `examples/react-hono-sst-aws-example/packages/client/postcss.config.js` (+6 -0) ➕ `examples/react-hono-sst-aws-example/packages/client/public/vite.svg` (+1 -0) ➕ `examples/react-hono-sst-aws-example/packages/client/src/App.css` (+0 -0) ➕ `examples/react-hono-sst-aws-example/packages/client/src/App.tsx` (+67 -0) ➕ `examples/react-hono-sst-aws-example/packages/client/src/assets/react.svg` (+1 -0) ➕ `examples/react-hono-sst-aws-example/packages/client/src/components/Spinner.tsx` (+9 -0) ➕ `examples/react-hono-sst-aws-example/packages/client/src/components/ui/button.tsx` (+56 -0) _...and 22 more files_ </details> ### 📄 Description This PR introduces a full-stack demo application showcasing the integration of SST (AWS), React, Hono, Better-Auth, and MongoDB. The implementation provides a secure authentication flow using Google OAuth. Key Features - 🔐 Google OAuth authentication using Better-Auth - 🏗️ SST infrastructure deployment to AWS - ⚡ React + Vite frontend with TypeScript - 🚀 Hono backend with TypeScript - 🎨 Tailwind CSS + shadcn/ui for styling - 📦 MongoDB integration for session management --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-03-13 10:49:16 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/better-auth#3325