Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Follow generator directory structure for restify app #38

Open
logeshpaul opened this issue May 21, 2015 · 3 comments
Open

Follow generator directory structure for restify app #38

logeshpaul opened this issue May 21, 2015 · 3 comments

Comments

@logeshpaul
Copy link
Member

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
@sourcebits-thiyagarajan
Copy link

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

@logeshpaul
Copy link
Member Author

No probs thiyagu! Just want to remind you on that 👍

@sourcebits-thiyagarajan
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants