You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
12 lines
338 B
12 lines
338 B
5 years ago
|
/*
|
||
|
* Greeting Model
|
||
|
* -------------------------------------------------------------
|
||
|
* This is a sample model. The schema or structure of the model should
|
||
|
* be specified here. It is then passed to Mongoose and can be accessed
|
||
|
* globally using the model() function.
|
||
|
*/
|
||
|
const Greeting = {
|
||
|
name: String,
|
||
|
}
|
||
|
|
||
|
module.exports = Greeting
|