-
Notifications
You must be signed in to change notification settings - Fork 9
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
382 add support for setting up and tearing down applications #390
382 add support for setting up and tearing down applications #390
Conversation
… down an application.
…es using a setup script
…itecture guidelines
|
||
For setting up the domain, we use the following rules: | ||
|
||
* folder per concept - we prefer using business domain concepts like 'account' or 'company'; | ||
* [function](../fundamentals/building-blocks#functions) per file - we use corresponding filenames with the function name like 'searchAccounts'' or 'createMonthReport'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There are two single quotes after the searchAccounts
|
||
* folder per concept - we prefer using business concepts like 'account' or 'company'; | ||
For maintainability reasons its important to get the dependencies right. We use the following rules: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the word its
is incorrect and should be it's
or it is
This example demonstrates how to construct and deconstruct a Jitar application. | ||
|
||
The application creates and filles a database before the server starts. | ||
When the application gest shut down, the database gets cleared. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Typo: gest
-> gets
|
||
**Functions** | ||
|
||
* sayHello (`src/getData.ts`) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There is no sayHello
function in this example.
npm run standalone | ||
``` | ||
|
||
The ``requests.http`` file contains an example requests to call the procedure. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Typo: requests
-> request
npm install | ||
``` | ||
|
||
2\. Next build the application by running the following command. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Typo: Next
-> Next,
Fixes #382
Changes proposed in this pull request:
@MaskingTechnology/jitar