Skip to content

Instantly share code, notes, and snippets.

@thihenos
Created July 29, 2018 04:49
Show Gist options
  • Save thihenos/02b022de110832c199eb5d9b6105b67c to your computer and use it in GitHub Desktop.
Save thihenos/02b022de110832c199eb5d9b6105b67c to your computer and use it in GitHub Desktop.
let db = require('../models')
exports.new = function(req, res) {
//Example of export function
};
exports.findAll = function(req, res) {
//Example of export function
}
exports.find = function(req, res) {
//Example of export function
}
exports.create = function(req, res) {
//Example of export function
}
exports.update = function(req, res) {
//Example of export function
}
exports.destroy = function(req, res) {
//Example of export function
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment