A repository to maintain clearvue microservice.
- Node 14.17.2
- Redis rejson 6.0.9 (Not required now)
- MySQL 5.7.32
- Works on Linux, Windows
-
Install typescript globally
npm install -g typescript
-
Install dependencies
npm install
-
Copy environment variables
cp sample.env .env
-
Compile and run the project locally
npm run clean npm run build npm run dev
-
Install Development only Dependent package
npm install <package-name> --save-dev
-
Install production package
npm install <package-name>
- For Json reference use swagger.json
- Use https://editor.swagger.io/ for compiling and realtime view
- Add needful EP with details in swagger.json under common folder
-
use below command to create new build and deploy with docker-compose
$ docker-compose up -d --build