Skip to content

Commit

Permalink
feat(index.js): for starting up project.
Browse files Browse the repository at this point in the history
closes #17
  • Loading branch information
robophil committed Oct 13, 2017
1 parent ec48dc4 commit eeaeceb
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions files/action/index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
/**
* load models
*/
try {
require('./db.index')
} catch (error) {
throw error
}

/**
* load services
*/
try {
require('./service.index')
} catch (error) {
throw error
}

const notice = `
***********************************************************************
***************************** **********************************
***************************** MSLITE **********************************
***************************** **********************************
***********************************************************************
`
console.log(notice)
Empty file removed index.js
Empty file.

0 comments on commit eeaeceb

Please sign in to comment.