Upload files to "/"

This commit is contained in:
2025-09-01 15:30:22 +05:30
parent ada137e1c0
commit 8c6da127ef
2 changed files with 18 additions and 0 deletions

8
User.js Normal file
View File

@ -0,0 +1,8 @@
const mongoose = require('mongoose');
const userSchema = new mongoose.Schema({
username: { type: String, unique: true },
password: String
});
module.exports = mongoose.model('User', userSchema);