https://github.com/simonri/sst-drizzle-auth-starter
Starter template for building web apps using Next.js, Drizzle ORM, Amazon Postgres RDS, and Auth.js.
https://github.com/simonri/sst-drizzle-auth-starter
aws drizzle next-auth rds sst
Last synced: 12 days ago
JSON representation
Starter template for building web apps using Next.js, Drizzle ORM, Amazon Postgres RDS, and Auth.js.
- Host: GitHub
- URL: https://github.com/simonri/sst-drizzle-auth-starter
- Owner: simonri
- Created: 2024-05-17T08:56:55.000Z (about 2 years ago)
- Default Branch: master
- Last Pushed: 2024-05-17T15:12:45.000Z (about 2 years ago)
- Last Synced: 2026-05-30T22:06:47.060Z (about 1 month ago)
- Topics: aws, drizzle, next-auth, rds, sst
- Language: TypeScript
- Homepage:
- Size: 10.7 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# SST + Drizzle + Auth Starter
### Features
- [**Next.js**](https://nextjs.org/) - A powerful React framework for web applications.
- [**Drizzle ORM**](https://orm.drizzle.team/) - A modern TypeScript ORM for SQL databases.
- [**Amazon Postgres RDS**](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/aurora-serverless-v2.html) - A managed PostgreSQL database service.
- [**Auth.js**](https://authjs.dev/) - A simple authentication library.
### Quick start
Install dependencies:
```bash
bun install
```
Login to AWS:
```bash
bun sso
```
Setup secrets:
```bash
bun run sst set GoogleClientId
bun run sst set GoogleClientSecret
```
Create and setup AWS:
```bash
bun dev
```
Migrate the database:
```bash
cd packages/frontend
bun db:generate
bun db:migrate
```
Deploy:
```bash
cd ../..
bun run deploy
```
---
For more information, please refer to the [docs](https://ion.sst.dev/docs/).