0.0.8 • Published 6 years ago
ember-aws-model v0.0.8
ember-aws-model
Add two blueprints to create model and its mirage mock, and deploy a dynamoDB table of the model.
Installation
ember install ember-aws-model
It add the route /entity which display all entities of models in your ember app.
Usage
You can add jdl compiled in JSON in the .jdl folder and then import it
ember generate entity-from-jdl
It generate model and their mirage' mock.
You can also build a cloudformation template.
ember install aws-template
And deploy it on AWS
aws cloudformation create-stack --stack-name <stack-name> --template-body file://$PWD/cloud/deploy.json --capabilities CAPABILITY_IAM
Contributing
Installation
git clone <repository-url>
cd ember-aws-model
npm install
Linting
npm run lint:js
npm run lint:js -- --fix
Running tests
ember test
– Runs the test suite on the current Ember versionember test --server
– Runs the test suite in "watch mode"npm test
– Runsember try:each
to test your addon against multiple Ember versions
Running the dummy application
ember serve
- Visit the dummy application at http://localhost:4200.
For more information on using ember-cli, visit https://ember-cli.com/.
License
This project is licensed under the MIT License.