server/database/objectDatabase/car.js
const cars = [{
id: 1,
owner: 1,
email: 'user@example.com',
created_on: Date(),
state: 'new',
status: 'sold',
price: 150000.00,
manufacturer: 'Ford',
model: '2009',
body_type: 'truck',
image_url: 'url',
},
{
id: 2,
owner: 2,
email: 'seyi@example.com',
created_on: Date(),
state: 'used',
status: 'available',
price: 2000000.00,
manufacturer: 'Ford',
model: '2010',
body_type: 'van',
image_url: 'url',
},
{
id: 3,
owner: 3,
email: 'tobe@example.com',
created_on: Date(),
state: 'new',
status: 'available',
price: 150000.00,
manufacturer: 'Ford',
model: '2009',
body_type: 'car',
image_url: 'url',
},
{
id: 4,
owner: 4,
email: 'glo@example.com',
created_on: Date(),
state: 'used',
status: 'available',
price: 150000.00,
manufacturer: 'Ford',
model: '2009',
body_type: 'car',
image_url: 'url',
},
];
export default cars;