fix + feat: api test + error fix

This commit is contained in:
2025-02-19 11:02:15 +01:00
parent 9f3754776f
commit d75d45e204
6 changed files with 89 additions and 83 deletions

View File

@ -1,8 +1,10 @@
{
"entrepreneurs": [
"entrepreneurs": [
{ "id": 1, "name": "Alice", "email": "alice@example.com" },
{ "id": 2, "name": "Bob", "email": "bob@example.com" },
{ "id": 3, "name": "Charlie", "email": "charlie@example.com" }
]
}
],
"data": [
{ "data": "this is a fake data to test api" }
]
}

View File

@ -0,0 +1,2 @@
#!/usr/bin/bash
json-server --watch db.json --port 5000