Skip to content

Instantly share code, notes, and snippets.

This project uses React 19 with server components, drizzle connected to supabase db for database operations, shadcn for styling, and supabase for authentication, postgres for the database.
The drizzle db client is located in /db/index.ts
Always try to use React Server Components as default. Only use client components when necessary. Use server actions to handle form submission. Keep server actions in a separate file co-located in the page folder.
Remember to use zod to validate inputs where necessary.
The project uses clean architecture with a data-access layer including all database queries in folder /data-access and DTO Data Transfer Objects in folder /data-objects.
@ysqander
ysqander / audit.yml
Created December 3, 2023 12:57 — forked from LukeMathWalker/audit.yml
GitHub Actions - Rust setup
name: Security audit
on:
schedule:
- cron: '0 0 * * *'
push:
paths:
- '**/Cargo.toml'
- '**/Cargo.lock'
jobs:
security_audit: