Skip to content

Latest commit

 

History

History
53 lines (36 loc) · 811 Bytes

DEVELOPMENT-GUIDE.md

File metadata and controls

53 lines (36 loc) · 811 Bytes

Development Guide

For development using docker-compose

docker-compose -f docker-compose.dev.yml up -d

You will need to work with two container.

API

For developing api server

# enter container
docker exec -it sms-gateway-api bash

# fresh installation
rm -rf node_modules package-lock.json
npm install

# run dev server
./dev.sh

Open your browser and see the swagger ui of API http://localhost:18888/api/open-api/docs/index.html

Testing

# lint
npm run lint

# test via coverage
npm run test:cover

Web UI

# enter container
docker exec -it sms-gateway-cp bash

# fresh installation
rm -rf node_modules package-lock.json
npm install

# run dev server
npm run dev

Open your browser and see the Nuxt.js application http://localhost:18888/