UNPKG

slush-y

Version:

A slush generator for Best Practices with AngularJS Fullstack applications.

14 lines (9 loc) 224 B
'use strict'; var mongoose = require('mongoose'), Schema = mongoose.Schema; var ThingSchema = new Schema({ name: String, info: String, active: Boolean }); module.exports = mongoose.model('Thing', ThingSchema);