Spaces:
Build error
Build error
| export default function handler(req, res) { | |
| const data = [ | |
| { | |
| id: 1, | |
| name: "Website Redesign", | |
| client: "Acme Corp", | |
| deadline: "2024-01-15", | |
| status: "In Progress", | |
| progress: 65, | |
| team: ["SC", "JW", "ER"], | |
| budget: "$12,000", | |
| priority: "High" | |
| }, | |
| { | |
| id: 2, | |
| name: "Mobile App Development", | |
| client: "Globex Inc", | |
| deadline: "2024-02-20", | |
| status: "Planning", | |
| progress: 15, | |
| team: ["MM", "SC"], | |
| budget: "$45,000", | |
| priority: "Medium" | |
| }, | |
| { | |
| id: 3, | |
| name: "Marketing Campaign", | |
| client: "Soylent Corp", | |
| deadline: "2023-12-30", | |
| status: "Review", | |
| progress: 90, | |
| team: ["JW", "ER", "MM"], | |
| budget: "$8,500", | |
| priority: "High" | |
| }, | |
| { | |
| id: 4, | |
| name: "Internal CRM Tool", | |
| client: "Initech", | |
| deadline: "2024-03-10", | |
| status: "In Progress", | |
| progress: 40, | |
| team: ["SC"], | |
| budget: "$22,000", | |
| priority: "Low" | |
| }, | |
| { | |
| id: 5, | |
| name: "E-commerce Migration", | |
| client: "Umbrella Corp", | |
| deadline: "2024-04-01", | |
| status: "On Hold", | |
| progress: 5, | |
| team: ["JW", "ER"], | |
| budget: "$65,000", | |
| priority: "Critical" | |
| } | |
| ]; | |
| res.status(200).json(data); | |
| } |