Skip to content

Instantly share code, notes, and snippets.

@kuc-arc-f
Created December 2, 2024 01:20
Show Gist options
  • Save kuc-arc-f/3c7dcd751c2e04de0f9dbc6d4808bd13 to your computer and use it in GitHub Desktop.
Save kuc-arc-f/3c7dcd751c2e04de0f9dbc6d4808bd13 to your computer and use it in GitHub Desktop.
Prompt-pages-hono67-todo10

Prompt

コード生成して欲しいです。
CRUD アプリ、
バックエンド: hono , Cloudflare D1 database 連携したい。
フロントエンド: React,  tailwindcss 使用したいです。

・バックエンドのみ、生成してほしい。
・CREATE TABLE 作成して欲しい。

・項目は、下記を追加したい。
title: INPUTタグ type=text
content: INPUTタグ type=text
content_type: INPUTタグ type=text
age: INPUTタグ type=text
public(公開、非公開) INPUTタグ type=radio
food_orange: INPUTタグ type=checkbox
food_apple: INPUTタグ type=checkbox
food_banana:  INPUTタグ type=checkbox
food_melon:  INPUTタグ type=checkbox
food_grape:  INPUTタグ type=checkbox
date_publish: INPUTタグ type=date
date_update: INPUTタグ type=date
post_number: INPUTタグ type=text
address_country: INPUTタグ type=text
address_pref: INPUTタグ type=text
address_city: INPUTタグ type=text
address_1: INPUTタグ type=text
address_2: INPUTタグ type=text
address_3: INPUTタグ type=text
text_option1: INPUTタグ type=text
text_option2: INPUTタグ type=text
text_option3: INPUTタグ type=text

TODOの追加機能を、ダイアログで編集したいです。
TODOの編集機能を、ダイアログで編集したいです。
TODOの削除機能を、追加したいです。
TODOの検索機能を、追加したいです。


上記、
フロントエンドのみ、生成してほしい。
・React ,  tailwindcss 使用したいです。
・shadcn/ui 未使用に、したい。

・バリデーション追加したい。react-hook-form未使用にしたい
npmは zod 使用したい。
検証内容は、下記です。
title: 未入力は、エラー
content: 未入力は、エラー
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment