Commit a238ef34 authored by Almouhannad's avatar Almouhannad

Add employees API

parent f8c184db
# Ignore node_modules directory
node_modules/
# Ignore json-server logs
logs/
# Ignore npm debug logs
npm-debug.log*
# Ignore IDE and editor configuration files
.vscode/
.idea/
*.iml
*.ipr
*.iws
# Ignore OS-specific files
.DS_Store
Thumbs.db
# Ignore other unnecessary files
*.tmp
*.bak
*.old
\ No newline at end of file
{
"employees": [
{
"firstName": "رضا",
"middleName": "وائل",
"lastName": "تقلا",
"dateOfBirth": "2002-06-09",
"gender": "ذكر",
"serialNumber": 992020,
"centerStatus": "مباشر عمله"
},
{
"firstName": "حسن",
"middleName": "ياسر",
"lastName": "عبد الرحمن",
"dateOfBirth": "2002-06-09",
"gender": "ذكر",
"serialNumber": 992021,
"centerStatus": "مباشر عمله"
},
{
"firstName": "المهند",
"middleName": "ياسر",
"lastName": "حافظ",
"dateOfBirth": "2002-06-09",
"gender": "ذكر",
"serialNumber": 992022,
"centerStatus": "مباشر عمله"
},
{
"firstName": "الهيثم",
"middleName": "بلال",
"lastName": "سلوم",
"dateOfBirth": "2002-06-09",
"gender": "ذكر",
"serialNumber": 992023,
"centerStatus": "مباشر عمله"
},
{
"firstName": "أغيد",
"middleName": "إسماعيل",
"lastName": "قشقش",
"dateOfBirth": "2002-06-09",
"gender": "ذكر",
"serialNumber": 992024,
"centerStatus": "مباشر عمله"
},
{
"firstName": "بدر",
"middleName": "يوسف",
"lastName": "الجباعي",
"dateOfBirth": "2002-06-09",
"gender": "ذكر",
"serialNumber": 992025,
"centerStatus": "مباشر عمله"
},
{
"firstName": "رواد",
"middleName": "عدنان",
"lastName": "ربيع",
"dateOfBirth": "2002-06-09",
"gender": "ذكر",
"serialNumber": 992026,
"centerStatus": "مباشر عمله"
},
{
"firstName": "محمد نور",
"middleName": "بشار",
"lastName": "علي",
"dateOfBirth": "2002-06-09",
"gender": "ذكر",
"serialNumber": 992027,
"centerStatus": "مباشر عمله"
},
{
"firstName": "آرام",
"middleName": "حسين",
"lastName": "محمد",
"dateOfBirth": "2002-06-09",
"gender": "ذكر",
"serialNumber": 992028,
"centerStatus": "مباشر عمله"
},
{
"firstName": "المقداد",
"middleName": "أكرم",
"lastName": "صقور",
"dateOfBirth": "2002-06-09",
"gender": "ذكر",
"serialNumber": 992029,
"centerStatus": "مباشر عمله"
},
{
"firstName": "رسول",
"middleName": "رفعت",
"lastName": "بشر",
"dateOfBirth": "2002-06-09",
"gender": "ذكر",
"serialNumber": 992030,
"centerStatus": "مباشر عمله"
},
{
"firstName": "أمير",
"middleName": "سراج",
"lastName": "أبو عمار",
"dateOfBirth": "2002-06-09",
"gender": "ذكر",
"serialNumber": 992031,
"centerStatus": "مباشر عمله"
}
]
}
{
"api/medicines": "./db.json"
}
\ No newline at end of file
This diff is collapsed.
{
"name": "employees",
"version": "1.0.0",
"description": "Mock api for employees data",
"main": "index.js",
"scripts": {
"start": "json-server --watch ./data/db.json --port 9002"
},
"repository": {
"type": "git",
"url": "../"
},
"author": "",
"license": "ISC",
"dependencies": {
"json-server": "^1.0.0-beta.2"
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment