diff --git a/templates/backend-and-client/base44/agents/task_manager.jsonc b/templates/backend-and-client/base44/agents/task_manager.jsonc
deleted file mode 100644
index 35253c00..00000000
--- a/templates/backend-and-client/base44/agents/task_manager.jsonc
+++ /dev/null
@@ -1,11 +0,0 @@
-{
- "name": "task_manager",
- "description": "An AI agent that helps you manage and change your tasks",
- "instructions": "You are a helpful task management assistant. You can help users create, update, mark as completed, and delete tasks using the entity tool. When a user asks to change a task, help them modify it by updating the appropriate fields. Always be conversational and helpful.",
- "tool_configs": [
- {
- "entity_name": "Task",
- "allowed_operations": ["read", "create", "update", "delete"]
- }
- ]
-}
diff --git a/templates/backend-and-client/base44/entities/task.jsonc b/templates/backend-and-client/base44/entities/task.jsonc
deleted file mode 100644
index 82b82567..00000000
--- a/templates/backend-and-client/base44/entities/task.jsonc
+++ /dev/null
@@ -1,16 +0,0 @@
-{
- "name": "Task",
- "type": "object",
- "properties": {
- "title": {
- "type": "string",
- "description": "Task title"
- },
- "completed": {
- "type": "boolean",
- "default": false,
- "description": "Whether the task is completed"
- }
- },
- "required": ["title"]
-}
diff --git a/templates/backend-and-client/components.json b/templates/backend-and-client/components.json
deleted file mode 100644
index 068bddc0..00000000
--- a/templates/backend-and-client/components.json
+++ /dev/null
@@ -1,16 +0,0 @@
-{
- "$schema": "https://ui.shadcn.com/schema.json",
- "style": "new-york",
- "rsc": false,
- "tsx": false,
- "tailwind": {
- "config": "tailwind.config.js",
- "css": "src/index.css",
- "baseColor": "slate",
- "cssVariables": true
- },
- "aliases": {
- "components": "@/components",
- "ui": "@/components/ui"
- }
-}
diff --git a/templates/backend-and-client/package.json b/templates/backend-and-client/package.json
index 91b53dfb..38d18035 100644
--- a/templates/backend-and-client/package.json
+++ b/templates/backend-and-client/package.json
@@ -10,7 +10,6 @@
},
"dependencies": {
"@base44/sdk": "^0.8.3",
- "lucide-react": "^0.475.0",
"react": "^18.2.0",
"react-dom": "^18.2.0"
},
diff --git a/templates/backend-and-client/src/App.jsx b/templates/backend-and-client/src/App.jsx
index 71296446..39ce4be9 100644
--- a/templates/backend-and-client/src/App.jsx
+++ b/templates/backend-and-client/src/App.jsx
@@ -1,147 +1,9 @@
-import { useState, useEffect } from "react";
-import { base44 } from "@/api/base44Client";
-import { Button } from "@/components/ui/button";
-import { Checkbox } from "@/components/ui/checkbox";
-import { Input } from "@/components/ui/input";
-import { Base44Logo } from "@/components/Base44Logo";
-import { Plus, Trash2, CheckCircle2 } from "lucide-react";
-
-const Task = base44.entities.Task;
-
export default function App() {
- const [tasks, setTasks] = useState([]);
- const [newTaskTitle, setNewTaskTitle] = useState("");
- const [isLoading, setIsLoading] = useState(true);
-
- const fetchTasks = async () => {
- const data = await Task.list();
- setTasks(data);
- setIsLoading(false);
- };
-
- useEffect(() => {
- fetchTasks();
- }, []);
-
- const handleSubmit = async (e) => {
- e.preventDefault();
- if (!newTaskTitle.trim()) return;
- await Task.create({ title: newTaskTitle.trim(), completed: false });
- setNewTaskTitle("");
- fetchTasks();
- };
-
- const toggleTask = async (id, completed) => {
- await Task.update(id, { completed });
- fetchTasks();
- };
-
- const deleteTask = async (id) => {
- await Task.delete(id);
- fetchTasks();
- };
-
- const clearCompleted = async () => {
- await Promise.all(
- tasks.filter((t) => t.completed).map((t) => Task.delete(t.id))
- );
- fetchTasks();
- };
-
- const completedCount = tasks.filter((t) => t.completed).length;
- const totalCount = tasks.length;
-
return (
-
-
- {/* Header */}
-
-
-
-
- Base44
- Tasks
-
-
- {totalCount > 0 && (
-
- {completedCount} of {totalCount} completed
-
- )}
-
-
- {/* Add Task Form */}
-
-
- {/* Task List */}
-
- {isLoading ? (
-
- ) : tasks.length === 0 ? (
-
-
No tasks yet. Add one above!
-
- ) : (
- tasks.map((task) => (
-
- toggleTask(task.id, checked)}
- className="w-5 h-5 rounded-md border-slate-300 data-[state=checked]:bg-orange-500 data-[state=checked]:border-orange-500"
- />
-
- {task.title}
-
-
-
- ))
- )}
-
-
- {/* Footer */}
- {completedCount > 0 && (
-
-
-
- )}
+
+
+
Hello World
+
Welcome to your Base44 app
);
diff --git a/templates/backend-and-client/src/components/Base44Logo.jsx b/templates/backend-and-client/src/components/Base44Logo.jsx
deleted file mode 100644
index c80bf52e..00000000
--- a/templates/backend-and-client/src/components/Base44Logo.jsx
+++ /dev/null
@@ -1,15 +0,0 @@
-export function Base44Logo({ className = "w-8 h-8" }) {
- return (
-
- );
-}
diff --git a/templates/backend-and-client/src/components/ui/button.jsx b/templates/backend-and-client/src/components/ui/button.jsx
deleted file mode 100644
index f6ee99bc..00000000
--- a/templates/backend-and-client/src/components/ui/button.jsx
+++ /dev/null
@@ -1,23 +0,0 @@
-import { forwardRef } from 'react';
-
-const Button = forwardRef(({ className = '', variant, size, ...props }, ref) => {
- const baseStyles = 'inline-flex items-center justify-center rounded-md text-sm font-medium transition-colors focus-visible:outline-none disabled:pointer-events-none disabled:opacity-50';
-
- const variantStyles = variant === 'ghost'
- ? 'hover:bg-slate-100'
- : 'bg-slate-900 text-white shadow hover:bg-slate-800';
-
- const sizeStyles = size === 'icon' ? 'h-9 w-9' : 'h-9 px-4 py-2';
-
- return (
-
- );
-});
-
-Button.displayName = 'Button';
-
-export { Button };
diff --git a/templates/backend-and-client/src/components/ui/checkbox.jsx b/templates/backend-and-client/src/components/ui/checkbox.jsx
deleted file mode 100644
index ebfd5052..00000000
--- a/templates/backend-and-client/src/components/ui/checkbox.jsx
+++ /dev/null
@@ -1,20 +0,0 @@
-import { forwardRef } from 'react';
-import { Check } from 'lucide-react';
-
-const Checkbox = forwardRef(({ className = '', checked, onCheckedChange, ...props }, ref) => (
-
-));
-
-Checkbox.displayName = 'Checkbox';
-
-export { Checkbox };
diff --git a/templates/backend-and-client/src/components/ui/input.jsx b/templates/backend-and-client/src/components/ui/input.jsx
deleted file mode 100644
index 33b32d07..00000000
--- a/templates/backend-and-client/src/components/ui/input.jsx
+++ /dev/null
@@ -1,13 +0,0 @@
-import { forwardRef } from 'react';
-
-const Input = forwardRef(({ className = '', ...props }, ref) => (
-
-));
-
-Input.displayName = 'Input';
-
-export { Input };
diff --git a/templates/backend-and-client/src/index.css b/templates/backend-and-client/src/index.css
index 863c4216..aa644cca 100644
--- a/templates/backend-and-client/src/index.css
+++ b/templates/backend-and-client/src/index.css
@@ -2,36 +2,12 @@
@tailwind components;
@tailwind utilities;
-@layer base {
- :root {
- --background: 0 0% 100%;
- --foreground: 222.2 84% 4.9%;
- --card: 0 0% 100%;
- --card-foreground: 222.2 84% 4.9%;
- --popover: 0 0% 100%;
- --popover-foreground: 222.2 84% 4.9%;
- --primary: 222.2 47.4% 11.2%;
- --primary-foreground: 210 40% 98%;
- --secondary: 210 40% 96.1%;
- --secondary-foreground: 222.2 47.4% 11.2%;
- --muted: 210 40% 96.1%;
- --muted-foreground: 215.4 16.3% 46.9%;
- --accent: 210 40% 96.1%;
- --accent-foreground: 222.2 47.4% 11.2%;
- --destructive: 0 84.2% 60.2%;
- --destructive-foreground: 210 40% 98%;
- --border: 214.3 31.8% 91.4%;
- --input: 214.3 31.8% 91.4%;
- --ring: 222.2 84% 4.9%;
- --radius: 0.5rem;
- }
-}
-
@layer base {
* {
@apply border-border;
}
+
body {
@apply bg-background text-foreground antialiased;
}
-}
+}
\ No newline at end of file