Run this command and everything should be setup
npm install
You will need a file called aws.env
inside your root directory containing these environment variables.
AWS_REGION=us-east-1
AWS_ACCESS_KEY_ID=YOUR_ACCESS_KEY
AWS_SECRET_ACCESS_KEY=YOUR_SECRET_ACCESS_KEY
Then run this command to start the edge-server, the eureka-server and the bpm-people-api
docker-compose up
Export this environment variable BPM_PEOPLE_API_URL
to define the APIs URL.
If you're running the API with docker-compose this is the URL:
export BPM_PEOPLE_API_URL=http://localhost:9081/people-service
Then run this command to start the application
npm start
npm test
$ docker build -t bpm-people-ui .
$ docker run -p 8080:8080 bpm-people-ui