Njerudendwigah commited on
Commit
08c7cc6
·
verified ·
1 Parent(s): 796b44e

Act as a senior full stack engineer. Build a complete Task Manager web application using HTML, CSS, JavaScript (with Node.js/Express for backend). The app should allow users to:

Browse files

Create, edit, and delete tasks.

Assign tasks to colleagues (with email/username selection).

Mark tasks as “in progress” or “completed.”

View tasks assigned by them and to them.

Send email notifications when a task is assigned or updated.

Store all data in a database (SQLite or MongoDB).

Provide a clean, mobile-friendly UI with a dashboard.

Include login/signup with authentication.

Optionally integrate with Google Sheets for logging tasks.

Deliverables:

Full code (frontend + backend) with file structure.

Explanations of setup and how to run it locally.

Example .env file for environment variables (e.g., email, DB connection). - Initial Deployment

Files changed (4) hide show
  1. README.md +7 -5
  2. index.html +334 -18
  3. login.html +115 -0
  4. prompts.txt +27 -0
README.md CHANGED
@@ -1,10 +1,12 @@
1
  ---
2
- title: Taskflow
3
- emoji: 🐠
4
- colorFrom: green
5
- colorTo: yellow
6
  sdk: static
7
  pinned: false
 
 
8
  ---
9
 
10
- Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
 
1
  ---
2
+ title: taskflow
3
+ emoji: 🐳
4
+ colorFrom: gray
5
+ colorTo: purple
6
  sdk: static
7
  pinned: false
8
+ tags:
9
+ - deepsite
10
  ---
11
 
12
+ Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
index.html CHANGED
@@ -1,19 +1,335 @@
1
- <!doctype html>
2
- <html>
3
- <head>
4
- <meta charset="utf-8" />
5
- <meta name="viewport" content="width=device-width" />
6
- <title>My static Space</title>
7
- <link rel="stylesheet" href="style.css" />
8
- </head>
9
- <body>
10
- <div class="card">
11
- <h1>Welcome to your static Space!</h1>
12
- <p>You can modify this app directly by editing <i>index.html</i> in the Files and versions tab.</p>
13
- <p>
14
- Also don't forget to check the
15
- <a href="https://huggingface.co/docs/hub/spaces" target="_blank">Spaces documentation</a>.
16
- </p>
17
- </div>
18
- </body>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
19
  </html>
 
1
+ <!DOCTYPE html>
2
+ <html lang="en">
3
+ <head>
4
+ <meta charset="UTF-8">
5
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
+ <title>TaskFlow | Modern Task Manager</title>
7
+ <script src="https://cdn.tailwindcss.com"></script>
8
+ <link href="https://unpkg.com/aos@2.3.1/dist/aos.css" rel="stylesheet">
9
+ <script src="https://unpkg.com/aos@2.3.1/dist/aos.js"></script>
10
+ <script src="https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js"></script>
11
+ <script src="https://unpkg.com/feather-icons"></script>
12
+ <style>
13
+ .gradient-bg {
14
+ background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
15
+ }
16
+ .task-card:hover {
17
+ transform: translateY(-5px);
18
+ box-shadow: 0 10px 20px rgba(0,0,0,0.1);
19
+ }
20
+ .status-badge {
21
+ font-size: 0.75rem;
22
+ padding: 0.25rem 0.5rem;
23
+ border-radius: 9999px;
24
+ }
25
+ .status-todo {
26
+ background-color: #e2e8f0;
27
+ color: #4a5568;
28
+ }
29
+ .status-inprogress {
30
+ background-color: #bee3f8;
31
+ color: #2b6cb0;
32
+ }
33
+ .status-completed {
34
+ background-color: #c6f6d5;
35
+ color: #2f855a;
36
+ }
37
+ </style>
38
+ </head>
39
+ <body class="bg-gray-50 min-h-screen">
40
+ <!-- Navigation -->
41
+ <nav class="bg-white shadow-sm">
42
+ <div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
43
+ <div class="flex justify-between h-16">
44
+ <div class="flex">
45
+ <div class="flex-shrink-0 flex items-center">
46
+ <i data-feather="check-circle" class="text-indigo-600"></i>
47
+ <span class="ml-2 text-xl font-bold text-gray-900">TaskFlow</span>
48
+ </div>
49
+ </div>
50
+ <div class="hidden sm:ml-6 sm:flex sm:items-center">
51
+ <div class="ml-3 relative">
52
+ <div>
53
+ <button id="user-menu" class="flex text-sm rounded-full focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500">
54
+ <img class="h-8 w-8 rounded-full" src="http://static.photos/people/200x200/42" alt="User profile">
55
+ </button>
56
+ </div>
57
+ </div>
58
+ </div>
59
+ </div>
60
+ </div>
61
+ </nav>
62
+
63
+ <!-- Main Content -->
64
+ <div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-8">
65
+ <div class="flex flex-col md:flex-row gap-8">
66
+ <!-- Sidebar -->
67
+ <div class="w-full md:w-64 flex-shrink-0">
68
+ <div class="bg-white rounded-lg shadow-sm p-4">
69
+ <div class="flex items-center mb-6">
70
+ <img class="h-10 w-10 rounded-full" src="http://static.photos/people/200x200/42" alt="User profile">
71
+ <div class="ml-3">
72
+ <p class="text-sm font-medium text-gray-900">John Doe</p>
73
+ <p class="text-sm text-gray-500">john@example.com</p>
74
+ </div>
75
+ </div>
76
+ <nav class="space-y-1">
77
+ <a href="#" class="bg-indigo-50 text-indigo-700 group flex items-center px-3 py-2 text-sm font-medium rounded-md">
78
+ <i data-feather="home" class="text-indigo-500 mr-3 flex-shrink-0"></i>
79
+ Dashboard
80
+ </a>
81
+ <a href="#" class="text-gray-600 hover:bg-gray-50 hover:text-gray-900 group flex items-center px-3 py-2 text-sm font-medium rounded-md">
82
+ <i data-feather="inbox" class="text-gray-400 group-hover:text-gray-500 mr-3 flex-shrink-0"></i>
83
+ My Tasks
84
+ </a>
85
+ <a href="#" class="text-gray-600 hover:bg-gray-50 hover:text-gray-900 group flex items-center px-3 py-2 text-sm font-medium rounded-md">
86
+ <i data-feather="send" class="text-gray-400 group-hover:text-gray-500 mr-3 flex-shrink-0"></i>
87
+ Assigned Tasks
88
+ </a>
89
+ <a href="#" class="text-gray-600 hover:bg-gray-50 hover:text-gray-900 group flex items-center px-3 py-2 text-sm font-medium rounded-md">
90
+ <i data-feather="users" class="text-gray-400 group-hover:text-gray-500 mr-3 flex-shrink-0"></i>
91
+ Team
92
+ </a>
93
+ <a href="#" class="text-gray-600 hover:bg-gray-50 hover:text-gray-900 group flex items-center px-3 py-2 text-sm font-medium rounded-md">
94
+ <i data-feather="settings" class="text-gray-400 group-hover:text-gray-500 mr-3 flex-shrink-0"></i>
95
+ Settings
96
+ </a>
97
+ </nav>
98
+ </div>
99
+ </div>
100
+
101
+ <!-- Main Content Area -->
102
+ <div class="flex-1">
103
+ <!-- Header -->
104
+ <div class="flex justify-between items-center mb-6">
105
+ <h1 class="text-2xl font-bold text-gray-900">Dashboard</h1>
106
+ <button class="inline-flex items-center px-4 py-2 border border-transparent text-sm font-medium rounded-md shadow-sm text-white bg-indigo-600 hover:bg-indigo-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500">
107
+ <i data-feather="plus" class="mr-2"></i>
108
+ New Task
109
+ </button>
110
+ </div>
111
+
112
+ <!-- Stats Cards -->
113
+ <div class="grid grid-cols-1 md:grid-cols-3 gap-4 mb-8">
114
+ <div class="bg-white rounded-lg shadow-sm p-6">
115
+ <div class="flex items-center">
116
+ <div class="p-3 rounded-full bg-indigo-50 text-indigo-600">
117
+ <i data-feather="inbox"></i>
118
+ </div>
119
+ <div class="ml-4">
120
+ <p class="text-sm font-medium text-gray-500">Total Tasks</p>
121
+ <p class="text-2xl font-semibold text-gray-900">24</p>
122
+ </div>
123
+ </div>
124
+ </div>
125
+ <div class="bg-white rounded-lg shadow-sm p-6">
126
+ <div class="flex items-center">
127
+ <div class="p-3 rounded-full bg-blue-50 text-blue-600">
128
+ <i data-feather="clock"></i>
129
+ </div>
130
+ <div class="ml-4">
131
+ <p class="text-sm font-medium text-gray-500">In Progress</p>
132
+ <p class="text-2xl font-semibold text-gray-900">8</p>
133
+ </div>
134
+ </div>
135
+ </div>
136
+ <div class="bg-white rounded-lg shadow-sm p-6">
137
+ <div class="flex items-center">
138
+ <div class="p-3 rounded-full bg-green-50 text-green-600">
139
+ <i data-feather="check-circle"></i>
140
+ </div>
141
+ <div class="ml-4">
142
+ <p class="text-sm font-medium text-gray-500">Completed</p>
143
+ <p class="text-2xl font-semibold text-gray-900">12</p>
144
+ </div>
145
+ </div>
146
+ </div>
147
+ </div>
148
+
149
+ <!-- Recent Tasks -->
150
+ <div class="bg-white rounded-lg shadow-sm overflow-hidden">
151
+ <div class="px-6 py-4 border-b border-gray-200">
152
+ <h2 class="text-lg font-medium text-gray-900">Recent Tasks</h2>
153
+ </div>
154
+ <div class="divide-y divide-gray-200">
155
+ <!-- Task Item -->
156
+ <div class="p-6 hover:bg-gray-50 transition-colors duration-150">
157
+ <div class="flex items-start">
158
+ <div class="flex-shrink-0 pt-0.5">
159
+ <input type="checkbox" class="h-4 w-4 text-indigo-600 focus:ring-indigo-500 border-gray-300 rounded">
160
+ </div>
161
+ <div class="ml-3 flex-1">
162
+ <div class="flex items-center justify-between">
163
+ <p class="text-sm font-medium text-gray-900">Update project documentation</p>
164
+ <span class="status-badge status-inprogress">In Progress</span>
165
+ </div>
166
+ <p class="mt-1 text-sm text-gray-500">Due tomorrow • Assigned to Sarah Johnson</p>
167
+ <div class="mt-2 flex items-center text-sm text-gray-500">
168
+ <i data-feather="calendar" class="mr-1.5 h-4 w-4"></i>
169
+ <span>Created on May 15, 2023</span>
170
+ </div>
171
+ </div>
172
+ </div>
173
+ </div>
174
+
175
+ <!-- Task Item -->
176
+ <div class="p-6 hover:bg-gray-50 transition-colors duration-150">
177
+ <div class="flex items-start">
178
+ <div class="flex-shrink-0 pt-0.5">
179
+ <input type="checkbox" class="h-4 w-4 text-indigo-600 focus:ring-indigo-500 border-gray-300 rounded" checked>
180
+ </div>
181
+ <div class="ml-3 flex-1">
182
+ <div class="flex items-center justify-between">
183
+ <p class="text-sm font-medium text-gray-900">Review pull request #42</p>
184
+ <span class="status-badge status-completed">Completed</span>
185
+ </div>
186
+ <p class="mt-1 text-sm text-gray-500">Due yesterday • Assigned to you</p>
187
+ <div class="mt-2 flex items-center text-sm text-gray-500">
188
+ <i data-feather="calendar" class="mr-1.5 h-4 w-4"></i>
189
+ <span>Created on May 10, 2023</span>
190
+ </div>
191
+ </div>
192
+ </div>
193
+ </div>
194
+
195
+ <!-- Task Item -->
196
+ <div class="p-6 hover:bg-gray-50 transition-colors duration-150">
197
+ <div class="flex items-start">
198
+ <div class="flex-shrink-0 pt-0.5">
199
+ <input type="checkbox" class="h-4 w-4 text-indigo-600 focus:ring-indigo-500 border-gray-300 rounded">
200
+ </div>
201
+ <div class="ml-3 flex-1">
202
+ <div class="flex items-center justify-between">
203
+ <p class="text-sm font-medium text-gray-900">Prepare client presentation</p>
204
+ <span class="status-badge status-todo">To Do</span>
205
+ </div>
206
+ <p class="mt-1 text-sm text-gray-500">Due in 3 days • Assigned to Michael Chen</p>
207
+ <div class="mt-2 flex items-center text-sm text-gray-500">
208
+ <i data-feather="calendar" class="mr-1.5 h-4 w-4"></i>
209
+ <span>Created on May 18, 2023</span>
210
+ </div>
211
+ </div>
212
+ </div>
213
+ </div>
214
+ </div>
215
+ </div>
216
+ </div>
217
+ </div>
218
+ </div>
219
+
220
+ <!-- Task Modal (hidden by default) -->
221
+ <div id="task-modal" class="fixed z-10 inset-0 overflow-y-auto hidden">
222
+ <div class="flex items-center justify-center min-h-screen pt-4 px-4 pb-20 text-center sm:block sm:p-0">
223
+ <div class="fixed inset-0 transition-opacity" aria-hidden="true">
224
+ <div class="absolute inset-0 bg-gray-500 opacity-75"></div>
225
+ </div>
226
+ <span class="hidden sm:inline-block sm:align-middle sm:h-screen" aria-hidden="true">&#8203;</span>
227
+ <div class="inline-block align-bottom bg-white rounded-lg px-4 pt-5 pb-4 text-left overflow-hidden shadow-xl transform transition-all sm:my-8 sm:align-middle sm:max-w-lg sm:w-full sm:p-6">
228
+ <div>
229
+ <div class="mt-3 text-center sm:mt-0 sm:text-left">
230
+ <h3 class="text-lg leading-6 font-medium text-gray-900" id="modal-title">
231
+ Create New Task
232
+ </h3>
233
+ <div class="mt-4">
234
+ <form>
235
+ <div class="mb-4">
236
+ <label for="task-title" class="block text-sm font-medium text-gray-700">Task Title</label>
237
+ <input type="text" id="task-title" class="mt-1 focus:ring-indigo-500 focus:border-indigo-500 block w-full shadow-sm sm:text-sm border-gray-300 rounded-md">
238
+ </div>
239
+ <div class="mb-4">
240
+ <label for="task-description" class="block text-sm font-medium text-gray-700">Description</label>
241
+ <textarea id="task-description" rows="3" class="mt-1 focus:ring-indigo-500 focus:border-indigo-500 block w-full shadow-sm sm:text-sm border-gray-300 rounded-md"></textarea>
242
+ </div>
243
+ <div class="mb-4">
244
+ <label for="task-assignee" class="block text-sm font-medium text-gray-700">Assignee</label>
245
+ <select id="task-assignee" class="mt-1 block w-full pl-3 pr-10 py-2 text-base border-gray-300 focus:outline-none focus:ring-indigo-500 focus:border-indigo-500 sm:text-sm rounded-md">
246
+ <option>Select team member</option>
247
+ <option>Sarah Johnson</option>
248
+ <option>Michael Chen</option>
249
+ <option>Alex Rodriguez</option>
250
+ </select>
251
+ </div>
252
+ <div class="grid grid-cols-2 gap-4">
253
+ <div>
254
+ <label for="task-due-date" class="block text-sm font-medium text-gray-700">Due Date</label>
255
+ <input type="date" id="task-due-date" class="mt-1 focus:ring-indigo-500 focus:border-indigo-500 block w-full shadow-sm sm:text-sm border-gray-300 rounded-md">
256
+ </div>
257
+ <div>
258
+ <label for="task-status" class="block text-sm font-medium text-gray-700">Status</label>
259
+ <select id="task-status" class="mt-1 block w-full pl-3 pr-10 py-2 text-base border-gray-300 focus:outline-none focus:ring-indigo-500 focus:border-indigo-500 sm:text-sm rounded-md">
260
+ <option>To Do</option>
261
+ <option>In Progress</option>
262
+ <option>Completed</option>
263
+ </select>
264
+ </div>
265
+ </div>
266
+ </form>
267
+ </div>
268
+ </div>
269
+ </div>
270
+ <div class="mt-5 sm:mt-4 sm:flex sm:flex-row-reverse">
271
+ <button type="button" class="w-full inline-flex justify-center rounded-md border border-transparent shadow-sm px-4 py-2 bg-indigo-600 text-base font-medium text-white hover:bg-indigo-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500 sm:ml-3 sm:w-auto sm:text-sm">
272
+ Create Task
273
+ </button>
274
+ <button type="button" class="mt-3 w-full inline-flex justify-center rounded-md border border-gray-300 shadow-sm px-4 py-2 bg-white text-base font-medium text-gray-700 hover:bg-gray-50 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500 sm:mt-0 sm:w-auto sm:text-sm">
275
+ Cancel
276
+ </button>
277
+ </div>
278
+ </div>
279
+ </div>
280
+ </div>
281
+
282
+ <script>
283
+ AOS.init();
284
+ feather.replace();
285
+
286
+ // Modal toggle functionality
287
+ document.querySelectorAll('[data-modal-toggle]').forEach(button => {
288
+ button.addEventListener('click', () => {
289
+ document.getElementById('task-modal').classList.toggle('hidden');
290
+ });
291
+ });
292
+
293
+ // Close modal when clicking outside
294
+ document.getElementById('task-modal').addEventListener('click', function(e) {
295
+ if (e.target === this) {
296
+ this.classList.add('hidden');
297
+ }
298
+ });
299
+
300
+ // Sample task data
301
+ const tasks = [
302
+ {
303
+ id: 1,
304
+ title: "Update project documentation",
305
+ description: "Ensure all API endpoints are documented",
306
+ status: "inprogress",
307
+ assignee: "Sarah Johnson",
308
+ dueDate: "2023-05-16",
309
+ createdAt: "2023-05-15"
310
+ },
311
+ {
312
+ id: 2,
313
+ title: "Review pull request #42",
314
+ description: "Check the new authentication flow",
315
+ status: "completed",
316
+ assignee: "You",
317
+ dueDate: "2023-05-14",
318
+ createdAt: "2023-05-10"
319
+ },
320
+ {
321
+ id: 3,
322
+ title: "Prepare client presentation",
323
+ description: "Create slides for quarterly review",
324
+ status: "todo",
325
+ assignee: "Michael Chen",
326
+ dueDate: "2023-05-21",
327
+ createdAt: "2023-05-18"
328
+ }
329
+ ];
330
+
331
+ // You would typically fetch tasks from an API in a real app
332
+ // fetch('/api/tasks').then(response => response.json()).then(data => renderTasks(data));
333
+ </script>
334
+ </body>
335
  </html>
login.html ADDED
@@ -0,0 +1,115 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <!DOCTYPE html>
2
+ <html lang="en">
3
+ <head>
4
+ <meta charset="UTF-8">
5
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
+ <title>Login | TaskFlow</title>
7
+ <script src="https://cdn.tailwindcss.com"></script>
8
+ <script src="https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js"></script>
9
+ <script src="https://unpkg.com/feather-icons"></script>
10
+ <style>
11
+ .gradient-bg {
12
+ background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
13
+ }
14
+ .auth-card {
15
+ box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
16
+ }
17
+ </style>
18
+ </head>
19
+ <body class="gradient-bg min-h-screen flex items-center justify-center p-4">
20
+ <div class="auth-card bg-white rounded-xl p-8 w-full max-w-md">
21
+ <div class="text-center mb-8">
22
+ <div class="flex justify-center mb-4">
23
+ <i data-feather="check-circle" class="text-indigo-600 w-12 h-12"></i>
24
+ </div>
25
+ <h1 class="text-2xl font-bold text-gray-900">Welcome to TaskFlow</h1>
26
+ <p class="text-gray-600 mt-2">Sign in to manage your tasks</p>
27
+ </div>
28
+
29
+ <form class="space-y-6">
30
+ <div>
31
+ <label for="email" class="block text-sm font-medium text-gray-700">Email address</label>
32
+ <div class="mt-1 relative rounded-md shadow-sm">
33
+ <div class="absolute inset-y-0 left-0 pl-3 flex items-center pointer-events-none">
34
+ <i data-feather="mail" class="h-5 w-5 text-gray-400"></i>
35
+ </div>
36
+ <input id="email" name="email" type="email" autocomplete="email" required class="py-3 pl-10 block w-full focus:ring-indigo-500 focus:border-indigo-500 border-gray-300 rounded-md" placeholder="you@example.com">
37
+ </div>
38
+ </div>
39
+
40
+ <div>
41
+ <label for="password" class="block text-sm font-medium text-gray-700">Password</label>
42
+ <div class="mt-1 relative rounded-md shadow-sm">
43
+ <div class="absolute inset-y-0 left-0 pl-3 flex items-center pointer-events-none">
44
+ <i data-feather="lock" class="h-5 w-5 text-gray-400"></i>
45
+ </div>
46
+ <input id="password" name="password" type="password" autocomplete="current-password" required class="py-3 pl-10 block w-full focus:ring-indigo-500 focus:border-indigo-500 border-gray-300 rounded-md" placeholder="••••••••">
47
+ </div>
48
+ </div>
49
+
50
+ <div class="flex items-center justify-between">
51
+ <div class="flex items-center">
52
+ <input id="remember-me" name="remember-me" type="checkbox" class="h-4 w-4 text-indigo-600 focus:ring-indigo-500 border-gray-300 rounded">
53
+ <label for="remember-me" class="ml-2 block text-sm text-gray-700">Remember me</label>
54
+ </div>
55
+
56
+ <div class="text-sm">
57
+ <a href="#" class="font-medium text-indigo-600 hover:text-indigo-500">Forgot your password?</a>
58
+ </div>
59
+ </div>
60
+
61
+ <div>
62
+ <button type="submit" class="w-full flex justify-center py-3 px-4 border border-transparent rounded-md shadow-sm text-sm font-medium text-white bg-indigo-600 hover:bg-indigo-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500">
63
+ Sign in
64
+ </button>
65
+ </div>
66
+ </form>
67
+
68
+ <div class="mt-6">
69
+ <div class="relative">
70
+ <div class="absolute inset-0 flex items-center">
71
+ <div class="w-full border-t border-gray-300"></div>
72
+ </div>
73
+ <div class="relative flex justify-center text-sm">
74
+ <span class="px-2 bg-white text-gray-500">Or continue with</span>
75
+ </div>
76
+ </div>
77
+
78
+ <div class="mt-6 grid grid-cols-2 gap-3">
79
+ <div>
80
+ <a href="#" class="w-full inline-flex justify-center py-2 px-4 border border-gray-300 rounded-md shadow-sm bg-white text-sm font-medium text-gray-500 hover:bg-gray-50">
81
+ <i data-feather="github" class="w-5 h-5"></i>
82
+ </a>
83
+ </div>
84
+
85
+ <div>
86
+ <a href="#" class="w-full inline-flex justify-center py-2 px-4 border border-gray-300 rounded-md shadow-sm bg-white text-sm font-medium text-gray-500 hover:bg-gray-50">
87
+ <i data-feather="google" class="w-5 h-5"></i>
88
+ </a>
89
+ </div>
90
+ </div>
91
+
92
+ <div class="mt-6 text-center text-sm">
93
+ <p class="text-gray-600">Don't have an account? <a href="#" class="font-medium text-indigo-600 hover:text-indigo-500">Sign up</a></p>
94
+ </div>
95
+ </div>
96
+ </div>
97
+
98
+ <script>
99
+ feather.replace();
100
+
101
+ // Form submission
102
+ document.querySelector('form').addEventListener('submit', function(e) {
103
+ e.preventDefault();
104
+ const email = document.getElementById('email').value;
105
+ const password = document.getElementById('password').value;
106
+
107
+ // In a real app, you would send this to your backend
108
+ console.log('Login attempt with:', { email, password });
109
+
110
+ // Simulate successful login
111
+ window.location.href = 'index.html';
112
+ });
113
+ </script>
114
+ </body>
115
+ </html>
prompts.txt ADDED
@@ -0,0 +1,27 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Act as a senior full stack engineer. Build a complete Task Manager web application using HTML, CSS, JavaScript (with Node.js/Express for backend). The app should allow users to:
2
+
3
+ Create, edit, and delete tasks.
4
+
5
+ Assign tasks to colleagues (with email/username selection).
6
+
7
+ Mark tasks as “in progress” or “completed.”
8
+
9
+ View tasks assigned by them and to them.
10
+
11
+ Send email notifications when a task is assigned or updated.
12
+
13
+ Store all data in a database (SQLite or MongoDB).
14
+
15
+ Provide a clean, mobile-friendly UI with a dashboard.
16
+
17
+ Include login/signup with authentication.
18
+
19
+ Optionally integrate with Google Sheets for logging tasks.
20
+
21
+ Deliverables:
22
+
23
+ Full code (frontend + backend) with file structure.
24
+
25
+ Explanations of setup and how to run it locally.
26
+
27
+ Example .env file for environment variables (e.g., email, DB connection).