aurelia / aurelia/store

Action scaffolder

Open
#80 9 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

feature-discussion
Dominant language
TypeScript
Stars
100
Forks
22
PR merge metrics
No merged PRs in 30d

Description

One of the things that eats up a lot of time is the creation of action stubs for new entites.

Imagine your state is like this:

interface Item {
  name: string;
}

interface State {
  items: Item[];
}

now in order to have the most common CRUD - R operations you'd need three actions.
What if instead, aurelia store would also act as a cli at the same time, helping you creating those action stubs on the fly.

You can try out a basic sample by installing:

$ npm install git://github.com/aurelia/store.git#action-scaffold

$ aurelia-store entityName entityType entityList stateType idName

I'd be interested to hear what you think about it and what a nice collection of actions boilerplates could be.

EDIT:
Make sure to visit this discourse topic for further discussions

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Review the existing action-scaffold branch and the documented aurelia-store entityName entityType entityList stateType idName entry point first. Use the linked Discourse discussion to determine which CRUD action boilerplates and CLI behavior are in scope. Done means the agreed scaffolding behavior and boilerplate collection are specified and implemented; the issue currently names no files or tests.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
cli, developer-experience
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.