restem
v0.0.2
Published
Restem generates Restful express routes using mongoose models
Downloads
2
Maintainers
Readme
Restem
Restem generates Restful express routes using mongoose models
const User = require('../models/user')
const user = restem({
model: User,
findBy: 'username'
})
app.use('/users', user)