init commit

This commit is contained in:
2025-07-07 00:52:41 +05:30
commit 2dd24927bc
81 changed files with 10274 additions and 0 deletions

13
backend/models/User.js Normal file
View File

@ -0,0 +1,13 @@
const mongoose = require("mongoose");
const UserSchema = new mongoose.Schema(
{
name: { type: String, required: true },
email: { type: String, required: true, unique: true },
password: { type: String, required: true },
profileImageUrl: { type: String, default: null },
},
{ timestamps: true }
);
module.exports = mongoose.model("User", UserSchema);