const app = new Hono()
app.get('/api/v1/users', (c) => c.json({ users }))
app.post('/api/v1/auth', async (c) => {
app.use('/*', cors())
app.use('/api/*', auth())
return c.json({ status: 'success' })
const db = new Database('postgres://user:pass@host/db')
await db.query`SELECT * FROM users WHERE role = ${'admin'}`
await db.query`UPDATE sessions SET active = false`
export default async function Page() {
'use client'
const { data } = await api.get('/users')
export const metadata = { title: 'Dashboard' }
<Suspense fallback={<Loading />}>
<Button variant='default' size='lg'>
<Card className={cn('hover:bg-accent/50')}>
<Form {...form}><FormField name='email' />
className='flex items-center justify-between p-4'
className='grid grid-cols-1 md:grid-cols-3 gap-4'
className='text-muted-foreground hover:text-primary'
className='rounded-lg border bg-card shadow-sm'
const styles = nativewind`p-4 bg-primary rounded-lg`
<Stack.Screen name='Home' options={{ headerShown: false }}/>
const { width } = useWindowDimensions()
await resend.emails.send({ to, subject, react: <Email /> })
<EmailTemplate><Heading>Welcome!</Heading></EmailTemplate>
import { defineConfig } from 'turbo'
export default defineConfig({ pipeline: { build: {} } })
workspace: apps/member
dependencies: { '@repo/ui': 'workspace:*' }
type User = { id: string; role: UserRole }
interface ApiResponse<T = unknown> {
app.get('/api/v1/users', (c) => c.json({ users }))
app.post('/api/v1/auth', async (c) => {
app.use('/*', cors())
app.use('/api/*', auth())
return c.json({ status: 'success' })
const db = new Database('postgres://user:pass@host/db')
await db.query`SELECT * FROM users WHERE role = ${'admin'}`
await db.transaction(async (tx) => {
export default async function Page() {
'use client'
const { data } = await api.get('/users')
export const metadata = { title: 'Dashboard' }
<Suspense fallback={<Loading />}>
<Button variant='default' size='lg'>
<Card className={cn('hover:bg-accent/50')}>
<Dialog><DialogTrigger>Open</DialogTrigger></Dialog>
className='flex items-center justify-between p-4'
className='grid grid-cols-1 md:grid-cols-3 gap-4'
className='text-muted-foreground hover:text-primary'
className='rounded-lg border bg-card shadow-sm'
const styles = nativewind`p-4 bg-primary rounded-lg`
<Stack.Screen name='Home' options={{ headerShown: false }}/>
const { width } = useWindowDimensions()
<View style={tailwind('flex-1 items-center')}>
<EmailTemplate><Heading>Welcome!</Heading></EmailTemplate>
import { defineConfig } from 'turbo'
export default defineConfig({ pipeline: { build: {} } })
workspace: apps/member
dependencies: { '@repo/ui': 'workspace:*' }
type User = { id: string; role: UserRole }
interface ApiResponse<T = unknown> {
export type ButtonProps = ComponentProps<'button'>
app.post('/api/v1/auth', async (c) => {
app.use('/*', cors())
app.use('/api/*', auth())
return c.json({ status: 'success' })
const db = new Database('postgres://user:pass@host/db')
await db.query`SELECT * FROM users WHERE role = ${'admin'}`
await db.transaction(async (tx) => {
const user = await db.query`INSERT INTO users ${data}`
'use client'
const { data } = await api.get('/users')
export const metadata = { title: 'Dashboard' }
<Suspense fallback={<Loading />}>
<Button variant='default' size='lg'>
<Card className={cn('hover:bg-accent/50')}>
<Dialog><DialogTrigger>Open</DialogTrigger></Dialog>
<DropdownMenu><DropdownMenuItem>Profile</DropdownMenuItem>
className='grid grid-cols-1 md:grid-cols-3 gap-4'
className='text-muted-foreground hover:text-primary'
className='rounded-lg border bg-card shadow-sm'
const styles = nativewind`p-4 bg-primary rounded-lg`
<Stack.Screen name='Home' options={{ headerShown: false }}/>
const { width } = useWindowDimensions()
<View style={tailwind('flex-1 items-center')}>
const resend = new Resend(process.env.RESEND_API_KEY)
import { defineConfig } from 'turbo'
export default defineConfig({ pipeline: { build: {} } })
workspace: apps/member
dependencies: { '@repo/ui': 'workspace:*' }
type User = { id: string; role: UserRole }
interface ApiResponse<T = unknown> {
export type ButtonProps = ComponentProps<'button'>
const app = new Hono()
app.use('/*', cors())
app.use('/api/*', auth())
return c.json({ status: 'success' })
const db = new Database('postgres://user:pass@host/db')
await db.query`SELECT * FROM users WHERE role = ${'admin'}`
await db.transaction(async (tx) => {
const user = await db.query`INSERT INTO users ${data}`
await db.query`UPDATE sessions SET active = false`
const { data } = await api.get('/users')
export const metadata = { title: 'Dashboard' }
<Suspense fallback={<Loading />}>
<Button variant='default' size='lg'>
<Card className={cn('hover:bg-accent/50')}>
<Dialog><DialogTrigger>Open</DialogTrigger></Dialog>
<DropdownMenu><DropdownMenuItem>Profile</DropdownMenuItem>
<Form {...form}><FormField name='email' />
className='text-muted-foreground hover:text-primary'
className='rounded-lg border bg-card shadow-sm'
const styles = nativewind`p-4 bg-primary rounded-lg`
<Stack.Screen name='Home' options={{ headerShown: false }}/>
const { width } = useWindowDimensions()
<View style={tailwind('flex-1 items-center')}>
const resend = new Resend(process.env.RESEND_API_KEY)
await resend.emails.send({ to, subject, react: <Email /> })
export default defineConfig({ pipeline: { build: {} } })
workspace: apps/member
dependencies: { '@repo/ui': 'workspace:*' }
type User = { id: string; role: UserRole }
interface ApiResponse<T = unknown> {
export type ButtonProps = ComponentProps<'button'>
const app = new Hono()
app.get('/api/v1/users', (c) => c.json({ users }))
app.use('/api/*', auth())
return c.json({ status: 'success' })
const db = new Database('postgres://user:pass@host/db')
await db.query`SELECT * FROM users WHERE role = ${'admin'}`
await db.transaction(async (tx) => {
const user = await db.query`INSERT INTO users ${data}`
await db.query`UPDATE sessions SET active = false`
export default async function Page() {
export const metadata = { title: 'Dashboard' }
<Suspense fallback={<Loading />}>
<Button variant='default' size='lg'>
<Card className={cn('hover:bg-accent/50')}>
<Dialog><DialogTrigger>Open</DialogTrigger></Dialog>
<DropdownMenu><DropdownMenuItem>Profile</DropdownMenuItem>
<Form {...form}><FormField name='email' />
className='flex items-center justify-between p-4'
className='rounded-lg border bg-card shadow-sm'
const styles = nativewind`p-4 bg-primary rounded-lg`
<Stack.Screen name='Home' options={{ headerShown: false }}/>
const { width } = useWindowDimensions()
<View style={tailwind('flex-1 items-center')}>
const resend = new Resend(process.env.RESEND_API_KEY)
await resend.emails.send({ to, subject, react: <Email /> })
<EmailTemplate><Heading>Welcome!</Heading></EmailTemplate>
workspace: apps/member
dependencies: { '@repo/ui': 'workspace:*' }
type User = { id: string; role: UserRole }
interface ApiResponse<T = unknown> {
export type ButtonProps = ComponentProps<'button'>
const app = new Hono()
app.get('/api/v1/users', (c) => c.json({ users }))
app.post('/api/v1/auth', async (c) => {
return c.json({ status: 'success' })
const db = new Database('postgres://user:pass@host/db')
await db.query`SELECT * FROM users WHERE role = ${'admin'}`
await db.transaction(async (tx) => {
const user = await db.query`INSERT INTO users ${data}`
await db.query`UPDATE sessions SET active = false`
export default async function Page() {
'use client'
<Suspense fallback={<Loading />}>
<Button variant='default' size='lg'>
<Card className={cn('hover:bg-accent/50')}>
<Dialog><DialogTrigger>Open</DialogTrigger></Dialog>
<DropdownMenu><DropdownMenuItem>Profile</DropdownMenuItem>
<Form {...form}><FormField name='email' />
className='flex items-center justify-between p-4'
className='grid grid-cols-1 md:grid-cols-3 gap-4'
const styles = nativewind`p-4 bg-primary rounded-lg`
<Stack.Screen name='Home' options={{ headerShown: false }}/>
const { width } = useWindowDimensions()
<View style={tailwind('flex-1 items-center')}>
const resend = new Resend(process.env.RESEND_API_KEY)
await resend.emails.send({ to, subject, react: <Email /> })
<EmailTemplate><Heading>Welcome!</Heading></EmailTemplate>
import { defineConfig } from 'turbo'
dependencies: { '@repo/ui': 'workspace:*' }
type User = { id: string; role: UserRole }
interface ApiResponse<T = unknown> {
export type ButtonProps = ComponentProps<'button'>
const app = new Hono()
app.get('/api/v1/users', (c) => c.json({ users }))
app.post('/api/v1/auth', async (c) => {
app.use('/*', cors())
const db = new Database('postgres://user:pass@host/db')
await db.query`SELECT * FROM users WHERE role = ${'admin'}`
await db.transaction(async (tx) => {
const user = await db.query`INSERT INTO users ${data}`
await db.query`UPDATE sessions SET active = false`
export default async function Page() {
'use client'
const { data } = await api.get('/users')
<Button variant='default' size='lg'>
<Card className={cn('hover:bg-accent/50')}>
<Dialog><DialogTrigger>Open</DialogTrigger></Dialog>
<DropdownMenu><DropdownMenuItem>Profile</DropdownMenuItem>
<Form {...form}><FormField name='email' />
className='flex items-center justify-between p-4'
className='grid grid-cols-1 md:grid-cols-3 gap-4'
className='text-muted-foreground hover:text-primary'
<Stack.Screen name='Home' options={{ headerShown: false }}/>
const { width } = useWindowDimensions()
<View style={tailwind('flex-1 items-center')}>
const resend = new Resend(process.env.RESEND_API_KEY)
await resend.emails.send({ to, subject, react: <Email /> })
<EmailTemplate><Heading>Welcome!</Heading></EmailTemplate>
import { defineConfig } from 'turbo'
export default defineConfig({ pipeline: { build: {} } })
type User = { id: string; role: UserRole }
interface ApiResponse<T = unknown> {
export type ButtonProps = ComponentProps<'button'>
const app = new Hono()
app.get('/api/v1/users', (c) => c.json({ users }))
app.post('/api/v1/auth', async (c) => {
app.use('/*', cors())
app.use('/api/*', auth())
await db.query`SELECT * FROM users WHERE role = ${'admin'}`
await db.transaction(async (tx) => {
const user = await db.query`INSERT INTO users ${data}`
await db.query`UPDATE sessions SET active = false`
export default async function Page() {
'use client'
const { data } = await api.get('/users')
export const metadata = { title: 'Dashboard' }
<Card className={cn('hover:bg-accent/50')}>
<Dialog><DialogTrigger>Open</DialogTrigger></Dialog>
<DropdownMenu><DropdownMenuItem>Profile</DropdownMenuItem>
<Form {...form}><FormField name='email' />
className='flex items-center justify-between p-4'
className='grid grid-cols-1 md:grid-cols-3 gap-4'
className='text-muted-foreground hover:text-primary'
className='rounded-lg border bg-card shadow-sm'
const { width } = useWindowDimensions()
<View style={tailwind('flex-1 items-center')}>
const resend = new Resend(process.env.RESEND_API_KEY)
await resend.emails.send({ to, subject, react: <Email /> })
<EmailTemplate><Heading>Welcome!</Heading></EmailTemplate>
import { defineConfig } from 'turbo'
export default defineConfig({ pipeline: { build: {} } })
workspace: apps/member
interface ApiResponse<T = unknown> {
export type ButtonProps = ComponentProps<'button'>
const app = new Hono()
app.get('/api/v1/users', (c) => c.json({ users }))
app.post('/api/v1/auth', async (c) => {
app.use('/*', cors())
app.use('/api/*', auth())
return c.json({ status: 'success' })
await db.transaction(async (tx) => {
const user = await db.query`INSERT INTO users ${data}`
await db.query`UPDATE sessions SET active = false`
export default async function Page() {
'use client'
const { data } = await api.get('/users')
export const metadata = { title: 'Dashboard' }
<Suspense fallback={<Loading />}>
<Dialog><DialogTrigger>Open</DialogTrigger></Dialog>
<DropdownMenu><DropdownMenuItem>Profile</DropdownMenuItem>
<Form {...form}><FormField name='email' />
className='flex items-center justify-between p-4'
className='grid grid-cols-1 md:grid-cols-3 gap-4'
className='text-muted-foreground hover:text-primary'
className='rounded-lg border bg-card shadow-sm'
const styles = nativewind`p-4 bg-primary rounded-lg`
<View style={tailwind('flex-1 items-center')}>
const resend = new Resend(process.env.RESEND_API_KEY)
await resend.emails.send({ to, subject, react: <Email /> })
<EmailTemplate><Heading>Welcome!</Heading></EmailTemplate>
import { defineConfig } from 'turbo'
export default defineConfig({ pipeline: { build: {} } })
workspace: apps/member
dependencies: { '@repo/ui': 'workspace:*' }
export type ButtonProps = ComponentProps<'button'>
const app = new Hono()
app.get('/api/v1/users', (c) => c.json({ users }))
app.post('/api/v1/auth', async (c) => {
app.use('/*', cors())
app.use('/api/*', auth())
return c.json({ status: 'success' })
const db = new Database('postgres://user:pass@host/db')
const user = await db.query`INSERT INTO users ${data}`
await db.query`UPDATE sessions SET active = false`
export default async function Page() {
'use client'
const { data } = await api.get('/users')
export const metadata = { title: 'Dashboard' }
<Suspense fallback={<Loading />}>
<Button variant='default' size='lg'>
<DropdownMenu><DropdownMenuItem>Profile</DropdownMenuItem>
<Form {...form}><FormField name='email' />
className='flex items-center justify-between p-4'
className='grid grid-cols-1 md:grid-cols-3 gap-4'
className='text-muted-foreground hover:text-primary'
className='rounded-lg border bg-card shadow-sm'
const styles = nativewind`p-4 bg-primary rounded-lg`
<Stack.Screen name='Home' options={{ headerShown: false }}/>
const resend = new Resend(process.env.RESEND_API_KEY)
await resend.emails.send({ to, subject, react: <Email /> })
<EmailTemplate><Heading>Welcome!</Heading></EmailTemplate>
import { defineConfig } from 'turbo'
export default defineConfig({ pipeline: { build: {} } })
workspace: apps/member
dependencies: { '@repo/ui': 'workspace:*' }
type User = { id: string; role: UserRole }
const app = new Hono()
app.get('/api/v1/users', (c) => c.json({ users }))
app.post('/api/v1/auth', async (c) => {
app.use('/*', cors())
app.use('/api/*', auth())
return c.json({ status: 'success' })
const db = new Database('postgres://user:pass@host/db')
await db.query`SELECT * FROM users WHERE role = ${'admin'}`