xeniacommon
v1.2.13
Published
## Prequisites (Development)
Downloads
10
Keywords
Readme
Xenia Api Project
Prequisites (Development)
| Module | Version | | --- | --- | | Node | 14.16.0 | | Npm | 6.13.0 | | PostgreSQL | 11.3 |
Running project in local
> npm install
> node server.js
Unit Test
NOTE: Before running test stop the server
> npm run test
Deployment in staging
> git clone -b staging gitUrl folderName
> cd configs
> mv configSample.js configs.js
> vi configs.js
Install node modules
Come out of the project folder and fire 'ls' command if you find 'package.sh' then run sh package.sh command to install node_modules globally instead of using the command npm install.
Directory Structure
|-- Common/
├── README.md
├── package-lock.json
├── package.json
└── src
├── config
│ ├── bootstrap.js
│ └── cryptoset.js
├── index.js
├── middlewares
│ ├── authgurad.js
│ ├── kafkaservice.js
│ └── requestBody.js
└── utils
├── appModules.js
├── authCode.js
├── constant.js
├── errorHandler.js
├── exports.js
├── kafkakeys.js
├── notificationServiceTypes.js
├── priority.js
└── responseHandler.js