Fix readme.md
This commit is contained in:
parent
0f9ba4fc7b
commit
1fe6295af0
@ -2,7 +2,7 @@
|
|||||||
Njsbacker is framework for backend developing at node.js/express.js *(in future versions can be supports any frameworks)*
|
Njsbacker is framework for backend developing at node.js/express.js *(in future versions can be supports any frameworks)*
|
||||||
## How it works?
|
## How it works?
|
||||||
Below you can see simple scheme as framework works: from **session** response get into **Main class** where or getting at **Group** and next into **Method**, or at **Method Class** where response data from http-params, **Group** and **Session** hadling at execution method.
|
Below you can see simple scheme as framework works: from **session** response get into **Main class** where or getting at **Group** and next into **Method**, or at **Method Class** where response data from http-params, **Group** and **Session** hadling at execution method.
|
||||||

|

|
||||||
After init main logic, logic can be converted at **express.js router** or **express.js server (app)**. Below you can see example code:
|
After init main logic, logic can be converted at **express.js router** or **express.js server (app)**. Below you can see example code:
|
||||||
```javascript
|
```javascript
|
||||||
// ... another code
|
// ... another code
|
||||||
@ -18,7 +18,7 @@ mainserverObject.server(
|
|||||||
});
|
});
|
||||||
```
|
```
|
||||||
Below you can see how responses from http/call-function hadless into reponse at scheme:
|
Below you can see how responses from http/call-function hadless into reponse at scheme:
|
||||||

|

|
||||||
Http data or Data from call method gets into pre_execution binary function where checks data: syntax/missed or no: if all successfuly data get into Session/Group/Method execute method else throwing error.
|
Http data or Data from call method gets into pre_execution binary function where checks data: syntax/missed or no: if all successfuly data get into Session/Group/Method execute method else throwing error.
|
||||||
### Before work.
|
### Before work.
|
||||||
Before work you must install this package:
|
Before work you must install this package:
|
||||||
|
Loading…
Reference in New Issue
Block a user