You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Feature Request: Add Structured Scaffold Option to Robyn's Create Command
Description:
The current create command in Robyn initializes API projects with a basic structure but lacks flexibility for more complex use cases. To address this, a new option should be introduced that allows developers to choose between:
A simple starter kit.
An opinionated structured scaffold for more robust project setups.
Requirements:
Add a prompt during project initialization to choose between a simple or structured scaffold.
Extend the current simple starter structure (with database options like Mongo, Postgres, etc.).
Include a new structured approach that introduces separation of concerns, such as:
api/handlers
middlewares
adapters/models
utils
devops (with Docker and docker-compose configurations)
Acceptance Criteria:
Ensure that both simple and structured scaffolds can be generated correctly.
Document the scaffold options in the README.
Example Structure:
For the structured scaffold, each database option should include additional layers for better maintainability. For example:
sqlalchemy scaffold should include:
adaptors (for models, mutators, selectors)
api/handlers (for API routes)
devops (for Docker, docker-compose)
utils/db.py
The text was updated successfully, but these errors were encountered:
Feature Request: Add Structured Scaffold Option to Robyn's Create Command
Description:
The current
create
command in Robyn initializes API projects with a basic structure but lacks flexibility for more complex use cases. To address this, a new option should be introduced that allows developers to choose between:Requirements:
api/handlers
middlewares
adapters/models
utils
devops
(with Docker and docker-compose configurations)Acceptance Criteria:
Example Structure:
For the structured scaffold, each database option should include additional layers for better maintainability. For example:
sqlalchemy
scaffold should include:adaptors
(for models, mutators, selectors)api/handlers
(for API routes)devops
(for Docker, docker-compose)utils/db.py
The text was updated successfully, but these errors were encountered: