Skip to content

Starter template for building web apps using Next.js, Drizzle ORM, Amazon Postgres RDS, and Auth.js.

Notifications You must be signed in to change notification settings

simonri/sst-drizzle-auth-starter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SST + Drizzle + Auth Starter

Features

  • Next.js - A powerful React framework for web applications.
  • Drizzle ORM - A modern TypeScript ORM for SQL databases.
  • Amazon Postgres RDS - A managed PostgreSQL database service.
  • Auth.js - A simple authentication library.

Quick start

Install dependencies:

bun install

Login to AWS:

bun sso

Setup secrets:

bun run sst set GoogleClientId <id>
bun run sst set GoogleClientSecret <secret>

Create and setup AWS:

bun dev

Migrate the database:

cd packages/frontend
bun db:generate
bun db:migrate

Deploy:

cd ../..
bun run deploy

For more information, please refer to the docs.

About

Starter template for building web apps using Next.js, Drizzle ORM, Amazon Postgres RDS, and Auth.js.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published