Spaces:
Build error
Build error
Upload pages/api/tasks.js with huggingface_hub
Browse files- pages/api/tasks.js +18 -0
pages/api/tasks.js
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
export default function handler(req, res) {
|
| 2 |
+
const data = {
|
| 3 |
+
todo: [
|
| 4 |
+
{ id: 101, title: "Design System Audit", tag: "Design", priority: "High", assignee: "ER" },
|
| 5 |
+
{ id: 102, title: "API Rate Limiting", tag: "Backend", priority: "Medium", assignee: "SC" },
|
| 6 |
+
{ id: 103, title: "Update User Onboarding", tag: "Product", priority: "Low", assignee: "MM" },
|
| 7 |
+
],
|
| 8 |
+
inProgress: [
|
| 9 |
+
{ id: 201, title: "Dashboard Analytics Integration", tag: "Frontend", priority: "Critical", assignee: "JW" },
|
| 10 |
+
{ id: 202, title: "Dark Mode Palette Fix", tag: "Design", priority: "High", assignee: "ER" },
|
| 11 |
+
],
|
| 12 |
+
done: [
|
| 13 |
+
{ id: 301, title: "Q3 Financial Report", tag: "Finance", priority: "High", assignee: "MM" },
|
| 14 |
+
{ id: 302, title: "Database Migration", tag: "DevOps", priority: "Critical", assignee: "SC" },
|
| 15 |
+
]
|
| 16 |
+
};
|
| 17 |
+
res.status(200).json(data);
|
| 18 |
+
}
|