Remove index.html, styles.css, favicon.svg, script.js, and tailwind.config.js files to streamline the project and eliminate unused resources.

This commit is contained in:
Alvin committed 2025-06-10 09:16:11 +02:00
1 parent c07fdac03c
commit ef07016a14
12 files changed
+244 -1579

No files matched your search

+32
View File
@@ -0,0 +1,32 @@
const mongoose = require('mongoose');
const customerSchema = new mongoose.Schema({
name: {
type: String,
required: true
},
email: {
type: String,
required: true,
unique: true
},
phone: {
type: String
},
carDetails: {
make: String,
model: String,
year: Number,
modifications: [String]
},
createdAt: {
type: Date,
default: Date.now
},
updatedAt: {
type: Date,
default: Date.now
}
});
module.exports = mongoose.model('Customer', customerSchema);