Frontend Design: Figma til kode
Dette endpoint returnerer Financial Projections.
Endpoint:
/financialProjections
Dette endpoint returnerer data for en specifik medarbejder ved at angive et medarbejder-ID.
Endpoint: /employees/:id
const employeesData = await fetch(
"/employees"
).then((response) => response.json());
console.log(employeesData);
{
"id": 1,
"name": "Sarah Jasmine",
"title": "CEO at Company",
"description": "Driving innov...
},
{
"id": 2,
...
}