twosides

private - TypeScript - about 1 hour ago on main

Merge branch 'main' of https://github.com/sayyammshah/twosides

c63ca77 - about 1 hour ago

1 files changed

|

+21

-0

Initial commit: monorepo scaffold with Fastify API and Drizzle DB - pnpm workspaces + Turborepo monorepo with apps/api, apps/web, packages/db, packages/engine, packages/profiles - Fastify 5 API with feature-based folder structure (routes → controller → service → db) - Better Auth integration with email/password, admin plugin, and session hook - Drizzle ORM schema: identities, sessions, auth accounts, verifications with recovery codes - Identity feature: sign-up, sign-in with email/phone/handle resolution - Health check endpoint - Scalar API docs at /api/v1/docs - Shared modules: config, errors, openapi, email (Nodemailer, disabled until SMTP configured) - Husky pre-commit hook with lint-staged (Prettier + ESLint) - Strict TypeScript config across all packages Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

60a1dea - about 1 hour ago

57 files changed

|

+6362

-0

Beyond State: Exploring the Power of React Refs

8 min Read · 10 Jan 2025

Read Article

Discover how to use React refs effectively to optimize performance, manage DOM interactions, and avoid unnecessary re-renders. Learn with practical examples like debounced search, form resets, and more in this comprehensive guide.