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

Improve development speed with model scaffolding snippets #9

Merged
merged 2 commits into from
Apr 15, 2024

Conversation

foyzulkarim
Copy link
Owner

@foyzulkarim foyzulkarim commented Apr 15, 2024

Summary

This pull request aims to improve development speed by creating user snippets for our Node.js boilerplate. It supports four types of snippets for a specific domain model:

  • API Snippet: A base controller structure is generated.
  • Service Snippet: Core service methods are outlined. This will have mongoose usages.
  • Request Snippet: Joi validations snippets.
  • Schema Snippet: Mongoose schema validation skeleton
  • Index: Index file for the domain module

This change is intended to:

  • Save time: Boilerplate code generation is streamlined.
  • Promote consistency: A standardized file structure is encouraged.
  • Support onboarding: New developers can quickly get up to speed.

@foyzulkarim foyzulkarim changed the title Feature/04 user snippets Improve development speed with model scaffolding snippets Apr 15, 2024
@foyzulkarim foyzulkarim marked this pull request as ready for review April 15, 2024 12:39
@foyzulkarim foyzulkarim merged commit c0eadd5 into main Apr 15, 2024
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

Successfully merging this pull request may close these issues.

None yet

1 participant