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

Mean package should create CRUD routes and functions rather than current routes #97

Open
pratik60 opened this issue Feb 16, 2015 · 2 comments

Comments

@pratik60
Copy link
Member

Kinda like rails when we do scaffolding and generate the basic routes, instead of the current content created. It would be much better if mean package creates basic services on angular end with forms and crud functions are created on the node end. Exactly like articles in fact! Schemas can just include a title initially....In fact, we want to emphasize on test cases and TDD. So instead of blank folders, basic test suite should be created as well for that package with tests which pass.

Having developed on mean.io for the last year and so, this is what most of our packages initially constitute before it gets trickier. So I definitely see that as a better starting point.

Thoughts - Feel free to chime in, or give me a thumbs up, if you'd like this feature.

@BrockMcKean
Copy link

👍

@andrija-hers
Copy link
Contributor

👍 for the idea, with a sidenote: whatever is done through templates (scaffolding) leads to code bloat. It seems that a lot of identical functionality will be re-generated in each package. Some OOP would do fine here, but that complicates the situation further. For now, let the scaffolder generate CRUD routes!

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

No branches or pull requests

3 participants