fullstack-next-cloudflare
π Full-stack Next.js 15 + Cloudflare Workers template with D1 database, R2 storage, Better Auth, and Server Actions. Production-ready with automated CI/CD and generous free tiers.
νμΌ νμκΈ°
μ΅μ’ λ²μ λ€μ΄λ‘λ (.zip)- deploy.yml
- settings.json
- deploy-complete.md
- _headers
- file.svg
- globe.svg
- next.svg
- vercel.svg
- window.svg
- page.tsx
- page.tsx
- layout.tsx
- route.ts
- route.ts
- page.tsx
- page.tsx
- page.tsx
- layout.tsx
- page.tsx
- favicon.ico
- globals.css
- layout.tsx
- page.tsx
- alert-dialog.tsx
- badge.tsx
- button.tsx
- card.tsx
- checkbox.tsx
- dialog.tsx
- form.tsx
- input.tsx
- label.tsx
- select.tsx
- separator.tsx
- textarea.tsx
- navigation.tsx
- validation.constant.ts
- index.ts
- schema.ts
- 0000_snapshot.json
- _journal.json
- 0000_initial_schemas_migration.sql
- api-error.ts
- r2.ts
- utils.ts
- auth.action.ts
- login-form.tsx
- logout-button.tsx
- signup-form.tsx
- .gitkeep
- auth.model.ts
- user.model.ts
- auth.schema.ts
- auth-client.ts
- auth-utils.ts
- auth.layout.tsx
- auth.route.ts
- login.page.tsx
- signup.page.tsx
- dashboard.layout.tsx
- dashboard.page.tsx
- dashboard.route.ts
- create-category.action.ts
- create-todo.action.ts
- delete-todo.action.ts
- get-categories.action.ts
- get-todo-by-id.action.ts
- get-todos.action.ts
- update-todo.action.ts
- add-category.tsx
- delete-todo.tsx
- todo-card.tsx
- todo-form.tsx
- toggle-complete.tsx
- todo.enum.ts
- category.schema.ts
- todo.schema.ts
- edit-todo.page.tsx
- new-todo.page.tsx
- todo-list.page.tsx
- todos.route.ts
- summarizer.service.ts
- .dev.vars.example
- .gitignore
- banner.svg
- biome.json
- cloudflare-env.d.ts
- components.json
- drizzle.config.ts
- drizzle.local.config.ts
- LICENSE
- middleware.ts
- next.config.ts
- open-next.config.ts
- package.json
- pnpm-lock.yaml
- postcss.config.mjs
- README.md
- tsconfig.json
- worker-configuration.d.ts
- wrangler.jsonc
π μ€μΉ κ°μ΄λ
git clone https://github.com/ifindev/fullstack-next-cloudflare
κΉνλΈμμ νλ‘μ νΈ μ½λ μ 체λ₯Ό λ΄ μ»΄ν¨ν°λ‘ λ΄λ €λ°μ΅λλ€.
cd fullstack-next-cloudflare
λ°©κΈ λ΄λ €λ°μ νλ‘μ νΈ ν΄λ μμΌλ‘ μ΄λν©λλ€.
2. Node.js
μ¬μ μΆμ²pnpm install
package.jsonμ λͺ μλ λΌμ΄λΈλ¬λ¦¬λ€μ λ΄λ €λ°μ μ€μΉν©λλ€.
pnpm run cf-typegen
μ΄ λͺ λ Ήμ΄λ₯Ό ν°λ―Έλμ κ·Έλλ‘ μ λ ₯ν΄ μ€ννμΈμ.
pnpm run db:generate
μ΄ λͺ λ Ήμ΄λ₯Ό ν°λ―Έλμ κ·Έλλ‘ μ λ ₯ν΄ μ€ννμΈμ.
pnpm run db:migrate:local
μ΄ λͺ λ Ήμ΄λ₯Ό ν°λ―Έλμ κ·Έλλ‘ μ λ ₯ν΄ μ€ννμΈμ.
pnpm run db:inspect:local
μ΄ λͺ λ Ήμ΄λ₯Ό ν°λ―Έλμ κ·Έλλ‘ μ λ ₯ν΄ μ€ννμΈμ.
μ΄ λ ν¬μ READMEμ μ ν μ€μ λͺ λ Ήμ΄λ₯Ό κ·Έλλ‘ κ°μ Έμμ΅λλ€.
