Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/miljan-code/next-trpc-drizzle-starter

Next.js, tRPC, Drizzle ORM, NextAuth, Supabase, Tailwind, shadcn/ui
https://github.com/miljan-code/next-trpc-drizzle-starter

drizzle nextauth nextjs shadcn-ui supabase tailwind trpc

Last synced: 10 days ago
JSON representation

Next.js, tRPC, Drizzle ORM, NextAuth, Supabase, Tailwind, shadcn/ui

Awesome Lists containing this project

README

        

# Zero setup. Edge ready.

Opinionated NextJS 13.4 (App Router) template that contains everything you need for developing a full-stack applications.

## Features

- TypeScript
- tRPC
- Drizzle ORM
- Supabase
- NextAuth
- T3 Env
- ESLint
- TailwindCSS
- ShadCN/ui
- Zod
- Prettier

## Usage

Create new app

```bash
yarn create-next-app@latest my-app -e https://github.com/miljan-code/next-trpc-drizzle-starter
# or
npx create-next-app@latest my-app -e https://github.com/miljan-code/next-trpc-drizzle-starter
# or
pnpm dlx create-next-app@latest my-app -e https://github.com/miljan-code/next-trpc-drizzle-starter
```

Add environment variables

```env
NEXTAUTH_URL="http://localhost:3000"
NEXTAUTH_SECRET=""

DATABASE_URL="postgresql://[username]:[password]@host/postgres" - Supabase

GOOGLE_CLIENT_ID=""
GOOGLE_CLIENT_SECRET=""
```

Run the development server

```bash
npm run dev
# or
yarn dev
# or
pnpm dev
```

Happy hacking!