generator-smacss icon indicating copy to clipboard operation
generator-smacss copied to clipboard

Follow generator directory structure for restify app

Open logeshpaul opened this issue 9 years ago • 3 comments

Generator follows a common directory structure throughout all app types. This needs to be followed in Restify App as well.

Current structure

├── controllers
│   └── userController.js
├── models
│   └── userSchema.js
├── route.js
├── app.js
├── config.json
├── db.js
├── node_modules
├── package.json
├── gulpfile.js
├── .gitattributes
└── .gitignore

Proposed structure

├── app
│   ├── controllers
│   │   └── userController.js
│   ├── models
│   │   └── userSchema.js
│   └── route.js
│   └── app.js
│   └── config.json
│   └── db.js
├── node_modules
├── package.json
├── gulpfile.js
├── .gitattributes
└── .gitignore

logeshpaul avatar May 21 '15 12:05 logeshpaul

Give me two days time i will finish.....

sourcebits-thiyagarajan avatar Jun 09 '15 04:06 sourcebits-thiyagarajan

No probs thiyagu! Just want to remind you on that :+1:

logeshpaul avatar Jun 09 '15 05:06 logeshpaul

i have completed my changes . One thing i want to discuss. We can't keep route.js,app.js,config.js,db.js inside app folder.

sourcebits-thiyagarajan avatar Jun 09 '15 06:06 sourcebits-thiyagarajan