Race Stack screenshot

Race Stack

Author Avatar Theme by Jose donato
Updated: 2 May 2023
171 Stars

Remix run stack built for the edge (cloudflare pages and d1)

Categories

Overview:

The Remix Race Stack is a comprehensive full-stack development solution that leverages Cloudflare products to provide hosting, database services, authentication, styling, analytics, and more. With a focus on simplicity and flexibility, this stack incorporates various tools and technologies to streamline the development process.

Features:

  • Cloudflare Pages for hosting
  • Cloudflare D1 and Drizzle ORM for database
  • Email/Password Authentication with remix-auth
  • Styling with Tailwind, shadcn/ui, Radix-UI, and Lucide Icons
  • Dark mode using cookies
  • Posthog for analytics, easily replaceable
  • Form validation with remix-validation-form and zod
  • Code formatting with Prettier
  • Linting with ESLint
  • Static Types with TypeScript

Installation:

  1. Install wrangler: npm install -g wrangler
  2. Create a new D1 database named “race-stack”: wrangler d1 create race-stack
  3. Modify the wrangler.toml file with the correct database name and id.
  4. Update the drizzle schema in app/lib/schema.ts.
  5. Generate your sql file: npm run generate
  6. Migrate your database locally: wrangler d1 execute race-stack --local --file=./drizzle/<file>.sql
  7. Install project dependencies: npm install
  8. Start the server: npm run dev
  9. Open http://127.0.0.1:8788 to access the application.

Summary:

The Remix Race Stack provides a comprehensive development solution for building full-stack applications with ease. By integrating Cloudflare services, authentication features, styling tools, analytics support, and more, developers can efficiently create and deploy applications using this stack. The installation process is straightforward, and the stack offers flexibility for customization and extension to meet specific project requirements.