npm init remix@latest --template raggesilver/sad-stack-cloudflare
# or
pnpm create remix@latest --template raggesilver/sad-stack-cloudflare
# or
bun create remix@latest --template raggesilver/sad-stack-cloudflareAfter initializing the project, you need to set up the following:
- Rename the project: head to ./wrandler.toml and change the
namefield to your project name.
npx wrangler d1 create <database_name>
npx wrangler types- Open ./wrangler.toml and add the following line to the d1 section:
migrations_dir = "drizzle/migrations"
# Also, ensure that binding is set to "DB"- UnoCSS for styling
- Shadcn for UI
- Drizzle ORM
- Paired with Cloudflare D1