Add files via upload

This commit is contained in:
Richard Gingrich
2024-08-06 15:53:05 -06:00
committed by GitHub
commit 5ca105d4f2
21 changed files with 4428 additions and 0 deletions

17
api/models/socketModel.js Normal file
View File

@@ -0,0 +1,17 @@
const mongoose = require('mongoose');
const Schema = mongoose.Schema;
const SocketSchema = new Schema({
userId: {
type: String,
required: true,
unique: true,
},
socketId: {
type: String,
required: true,
unique: true
}
});
module.exports = mongoose.model("SocketModel", SocketSchema);