personal_website/models/gameModel.js
2023-08-02 18:28:58 +02:00

11 lines
242 B
JavaScript

var mongoose = require('mongoose');
var Schema = mongoose.Schema;
var gameSchema = new Schema({
'title': String,
'released': String,
'webImg': String,
'code': String
});
module.exports = mongoose.model('game', gameSchema);