Nodejs platform backend, with helmchart, k8s, and IBRK access
with added mean reversal high frequency trading model.
- /api/v1/*
npm install
- Install dependenciesnpm run lint
- Lint codenpm run start
- Start applicationnpm run start:dev
- Start application in watch modenpm run test
- run Jest test runner
Clone .env-sample
to .env
and update value for following environment variables
Variable Name | Default value | Description |
---|---|---|
PORT |
3000 | Application port name |
curl -X GET http://localhost:4006/api/v1/healthz
curl -X GET http://localhost:4006/api/v1/ibex
docker build --progress=plain -t victoryeo00/myprog:latest .
docker push victoryeo00/myprog:latest
docker run -u node -p 4002:4002 victoryeo00/myprog:latest
kubectl apply -f k8s/create-deployment.yaml
kubectl delete deployment myprog
kubectl delete svc myprog-service
helm create <helmname>
helm install <appname> <helmname>/
helm uninstall <appname>
set in .env file or pass the api key to docker commmand
docker run -u node --env API_KEY=testkey -p 4002:4002 victoryeo00/myprog:latest