The main logic for initializing an instance of the lib.reviews Express web application.
Methods
(async, static) getApp() → {function}
Initialize an instance of the app and provide it when it is ready for use.
Returns:
an Express app
- Type
- function
(async, static) setupDirectory(dir)
Create a directory if it does not exist
Parameters:
| Name | Type | Description |
|---|---|---|
dir |
String | relative path name |