Skip to content

better-slop/shame

Repository files navigation

shame.bot

This project was created with Better-T-Stack, a modern TypeScript stack that combines React, TanStack Start, Hono, TRPC, and more.

Features

  • TypeScript - For type safety and improved developer experience
  • TanStack Start - SSR framework with TanStack Router
  • TailwindCSS - Utility-first CSS for rapid UI development
  • shadcn/ui - Reusable UI components
  • Hono - Lightweight, performant server framework
  • tRPC - End-to-end type-safe APIs
  • workers - Runtime environment
  • Drizzle - TypeScript-first ORM
  • SQLite/Turso - Database engine
  • Authentication - Better-Auth
  • Oxlint - Oxlint + Oxfmt (linting & formatting)

Getting Started

First, install the dependencies:

bun install

Database Setup

This project uses SQLite with Drizzle ORM.

  1. Start the local SQLite database (optional): D1 local development and migrations are handled automatically by Alchemy during dev and deploy.

  2. Update your .env file in the apps/server directory with the appropriate connection details if needed.

  3. Apply the schema to your database:

bun run db:push

Then, run the development server:

bun run dev

Open http://localhost:3001 in your browser to see the web application. The API is running at http://localhost:3000.

Deployment (Cloudflare via Alchemy)

  • Dev: bun run dev
  • Deploy: bun run deploy
  • Destroy: bun run destroy

For more details, see the guide on Deploying to Cloudflare with Alchemy.

Git Hooks and Formatting

  • Format and lint fix: bun run check

Project Structure

bs-shame/
├── apps/
│   ├── web/         # Frontend application (React + TanStack Start)
│   └── server/      # Backend API (Hono, TRPC)
├── packages/
│   ├── api/         # API layer / business logic
│   ├── auth/        # Authentication configuration & logic
│   └── db/          # Database schema & queries

Available Scripts

  • bun run dev: Start all applications in development mode
  • bun run build: Build all applications
  • bun run dev:web: Start only the web application
  • bun run dev:server: Start only the server
  • bun run check-types: Check TypeScript types across all apps
  • bun run db:push: Push schema changes to database
  • bun run db:studio: Open database studio UI
  • bun run check: Run Oxlint and Oxfmt

About

Banish AI slop from you GitHub repositories and organizations in one click

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages