A favicon of Turbo Drizzle

Turbo Drizzle

A pre-configured Turborepo starter featuring Drizzle ORM and PostgreSQL, designed to streamline full-stack TypeScript application development.

A screenshot of Turbo DrizzleVisit

Jumpstart Full-Stack Development: Turborepo Starter with Drizzle ORM & PostgreSQL

This Turborepo starter provides a robust foundation for building modern web applications using TypeScript. It comes pre-configured with Drizzle ORM for seamless PostgreSQL database interaction, enabling developers to quickly establish a monorepo structure with shared packages for UI, database management, and configurations. Accelerate your development workflow with a well-organized, type-safe, and scalable project setup, complete with essential linting and formatting tools.

Features:

  • Next.js Web Application: Includes a web app built with Next.js, ready for frontend development.
  • Drizzle ORM for PostgreSQL: The @repo/database package utilizes Drizzle ORM to efficiently manage and access your PostgreSQL database.
  • Shared UI Package: Provides @repo/ui, a stub React component library intended for use across applications within the monorepo.
  • Centralized ESLint Setup: Comes with @repo/eslint-config, which includes eslint-config-next and eslint-config-prettier for consistent code quality.
  • Shared TypeScript Configurations: Employs @repo/typescript-config for standardized tsconfig.json files, ensuring type consistency across the monorepo.
  • 100% TypeScript: All constituent packages and applications are written entirely in TypeScript for enhanced type safety.
  • ESLint for Linting: Pre-configured ESLint for static code analysis to maintain high code quality.
  • Prettier for Formatting: Integrated Prettier to automate code formatting, ensuring a consistent codebase style.
  • Local PostgreSQL Environment: A docker-compose.yml file is provided to easily deploy a PostgreSQL server locally for development.
  • Database Migration Management: Supports Drizzle Migrate, allowing developers to manage database schema changes effectively using commands like pnpm turbo db:migrate.
  • Database Seeding Capability: Includes a script located at packages/database/scripts/seed.ts for populating the database with initial or test data.
  • Turborepo Monorepo Structure: Organizes the project as a monorepo managed by Turborepo, optimizing build times and development efficiency.

Summary:

This starter kit significantly accelerates the setup of full-stack TypeScript projects by offering a Turborepo monorepo pre-configured with Drizzle ORM for PostgreSQL database management. It bundles essential packages for web development (Next.js), a foundational UI library, and development utilities like ESLint and Prettier. Developers can swiftly clone, configure, and commence building scalable applications with a solid, type-safe architecture and streamlined database operations.

Distribution:
opensource
GitHub:
15 Stars
0
Share:

 

  
 

Similar to Turbo Drizzle: