Is the bot gud?
- TypeScript - For type safety and improved developer experience
- SvelteKit - Web framework for building Svelte apps
- TailwindCSS - Utility-first CSS for rapid UI development
- Hono - Lightweight, performant server framework
- oRPC - End-to-end type-safe APIs with OpenAPI integration
- Bun - Runtime environment
- Drizzle - TypeScript-first ORM
- PostgreSQL - Database engine
- Authentication - Better-Auth
- Turborepo - Optimized monorepo build system
- Oxlint - Oxlint + Oxfmt (linting & formatting)
First, install the dependencies:
bun installThis project uses PostgreSQL with Drizzle ORM.
-
Make sure you have a PostgreSQL database set up.
-
Update your
apps/server/.envfile with your PostgreSQL connection details. -
Apply the schema to your database:
bun run db:pushThen, run the development server:
bun run devOpen http://localhost:5173 in your browser to see the web application. The API is running at http://localhost:3000.
- Target: web + server
- Config:
docker-compose.yml(app Dockerfiles live inapps/*/Dockerfile) - Build images: bun run docker:build
- Start: bun run docker:up
- Logs: bun run docker:logs
- Stop: bun run docker:down
Environment variables are read from each app's .env file (baked into web builds for public variables) and overridden in docker-compose.yml for container networking.
- Run checks:
bun run check
ratetherobot/
├── apps/
│ ├── web/ # Frontend application (SvelteKit)
│ └── server/ # Backend API (Hono, ORPC)
├── packages/
│ ├── api/ # API layer / business logic
│ ├── auth/ # Authentication configuration & logic
│ └── db/ # Database schema & queries
bun run dev: Start all applications in development modebun run build: Build all applicationsbun run dev:web: Start only the web applicationbun run dev:server: Start only the serverbun run check-types: Check TypeScript types across all appsbun run db:push: Push schema changes to databasebun run db:generate: Generate database client/typesbun run db:migrate: Run database migrationsbun run db:studio: Open database studio UIbun run check: Run Oxlint and Oxfmtbun run docker:build: Build the Docker Compose imagesbun run docker:up: Build and start the Docker Compose stackbun run docker:logs: Tail logs from the Docker Compose stackbun run docker:down: Stop the Docker Compose stack