generator-smacss
generator-smacss copied to clipboard
Follow generator directory structure for restify app
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
Give me two days time i will finish.....
No probs thiyagu! Just want to remind you on that :+1:
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.